Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 488 Bytes

json_codec.md

File metadata and controls

20 lines (13 loc) · 488 Bytes

pJSON.stringify and pJSON.parse functions are created to overcome nested JSON issue.

syntax

pJSON.stringify(object, deep)

parameters

object, object, object to be stringigy

deep, bool, true if nested object need to be stringify

returns

a json string without nested objects

syntax

pJSON.parse(pjson, deep)

parameters

pjson, string, string with pJSON format

deep, object, true if nested object need to be parsed