Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SRP_JSON provides the following services. The first parameter is always a handle to an entity. Sometimes this handle is just an empty or unassigned variable, such as when you want to create a new JSON Entity. All other times the handle references a JSON Entity already in memory. The rest of the parameters depend upon the service in question, and if you are using the latest SRP Editor you'll see the tooltips change once you select a service--making it easy to know how to use it.

ServiceDescription
ADDAdds a JSON Entity to a JSON array.
ADDVALUEAdds a value to a JSON array.
CONTAINSDetermines if a JSON object contains the given member or if a JSON array contains the given index.
GETReturns a descendant JSON Entity within a given JSON Entity.
GETCOUNTReturns the number of members in a JSON object or elements in a JSON array.
GETMEMBERSReturns a list of a JSON object's members.
GETVALUEReturns a descendant value within a given JSON Entity.
NEWCreates a new JSON Entity.
PARSEParses a standardized JSON string into a new JSON Entity.
RELEASEDeallocates a JSON Entity from memory.
REMOVERemoves a member from a JSON object or an element from a JSON array.
REMOVEALLRemoves all members from a JSON obect or all elements from a JSON array.
SETSets a member within a JSON object or element within a JSON array to the given JSON Entity.
SETVALUESets a member within a JSON object or element within a JSON array to the given value.
STRINGIFYFormats the given JSON Entity into a standardized JSON string.
TYPEReturns a JSON Entity's type.

...