Reputation: 121
My requirement is to store an object in JSONStore as it is but it seems JSONstore is storing the object in ascending order of key.
If my object is {name:'myName',age:23} and I am storing it in JSONstore.
While trying to retrieve this object from JSONstore ,I am getting as
{age:23,name:'myName'}
My objective is to get {name:'myName',age:23}
Why JSONstore is storing like that ? Is there any method to prevent this by using any optional parameter .
Upvotes: 1
Views: 66