Search code examples
javascriptjsonwakanda

Wakanda JSON.stringify issue


i´m working with wakanda 1.1.1.0 on windows 2012 R2 Standar. On server-side, JSON.stringify(someObjectArray), omit the last object in the array.


Solution

  • This issue is not reproducible for me, i have tried with :

    var person = [{ firstName : "John", lastName :  "Doe",  num : 46}, { name2 : "issac", num : 25}];
    JSON.stringify(person);
    

    I get the expexted result

    "[{"firstName":"John","lastName":"Doe","num":46},{"name2":"issac","num":25}]"

    Can you share the array you are using ?