JSUN with nsis
I am writing an installer using NSIS which needs to parse a block of JSON file.
{
"apps_promo_counter": 11,
"autofill": {
"negative_upload_rate": 1.0,
"positive_upload_rate": 1.0
},
....
Archive: JSUN with nsis
JSUN with nsis
I am writing an installer using NSIS which needs to parse a block of JSON file.
{
"apps_promo_counter": 11,
"autofill": {
"negative_upload_rate": 1.0,
"positive_upload_rate": 1.0
},
....
It is really great that you are writing such installer!
I am writing installer which extracts zip file ;)
i write... I want change string in the JSON file
It doesn't matter what you wrote. As long as you don't ask a specific question, there's nothing we can do for you.
normal matter. i have file.i want change string in this file use nsis plugin or other methods. what wrong with my question?
The problem with your question is that you never asked it. If you want us to help you with your problem, you will have to try to sound polite. And you'll have to be clear on what you specifically need help with.
For example, something like this:
I want to change a string in a JSON file (JavaScript Object Notation, plaintext). The string I'm looking for is, for example, "USERNAME=Foo". I want to find this string and replace it with "USERNAME=Bar". How can I achieve this?
See you understand my questions. I was born and all my life leave in Ukraine. my knowledge english language not much good for say everything that I want and think,you help me?
I'm not talking about writing in proper English. Although I admit that good English helps a lot. What I am talking about is clearly stating your SPECIFIC question. And giving all the necessary details that we need for answering that question. In your first post in this thread you did NOT ask a specific question.
If you want to replace a string in a plaintext file, you can probably use the WordReplace macro: http://nsis.sourceforge.net/Docs/AppendixE.html#E.3.8
Note that for this to work, you need to know the exact string you want to replace, and it should be unique (unless you're sure you want to replace the first hit). For case-sensitive replace, use WordReplaceS.
ok thanks for help