I have noticed this method adds the key multiple times. I needed some json to be added to the start of the json document and not at the end.
My fix was simply to add at the start of the function
EnsureDictionary ();
And replace
this[property] = data; with inst_object[property] = data;
Then it works properly. Do you want me to make a pull request? I have a homebrew fork so it's not exactly compatible, but I can make a proper fork and just do this one change.
Hi,
I have noticed this method adds the key multiple times. I needed some json to be added to the start of the json document and not at the end.
My fix was simply to add at the start of the function
EnsureDictionary ();
And replacethis[property] = data;
withinst_object[property] = data;
Then it works properly. Do you want me to make a pull request? I have a homebrew fork so it's not exactly compatible, but I can make a proper fork and just do this one change.
Regards, Rene