Difference between revisions of "ObjectType:jsonobject"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
== See Also == | == See Also == | ||
− | + | {{LavishScript:ObjectType}} | |
− | |||
− | |||
[[Category:JSON]] | [[Category:JSON]] |
Revision as of 16:16, 8 July 2018
Contents
Overview
jsonobject | |
Defined By | LavishScript |
Inherits | ObjectType:jsonvalue |
Reduces To | same as jsonvalue.AsString |
Variable Object Type | none |
Uses Sub-Types | no |
C/C++ Type | void * |
A jsonobject is a standard JSON object.
Members
- ... Get[valueName]: Gets a value stored within this object, by its name
- ... Get[valueName,valueName2,...]: Gets a stored value multiple levels deep within jsonobjects and/or jsonarrays
Methods
- Clear: Clears all values from the object
- Set[valueName,json]: Sets a value within the object, to a new JSON value of any type, e.g. myJsonObject:Set["someObject","{\"subValue\":12}"]
- GetIterator[jsoniterator]: Sets a jsoniterator to iterate this JSON object
See Also
LavishScript Object Types
- Text
- string - mutablestring - unistring
- Numbers
- byte - float - float64 - int - uint - int64
- Boolean (TRUE/FALSE)
- bool
- Pointers
- boolptr - byteptr - floatptr - float64ptr - intptr - uintptr - int64ptr - rgbptr - stringptr
- Containers
- objectcontainer - array - index - collection - queue - stack - set - variablescope
- JSON
- jsonobject - jsonarray - jsonvaluecontainer - jsonvalue
- Iteration
- iterator - jsoniterator
- Date/Time
- time
- File Handling
- filepath - file - filelist - filelistentry
- Tasks
- lavishmachine - Accessed via the Top-Level Object LMAC
- task - tasklibrary - taskmanager - tasktype - taskpulseargs - elmactaskstate