|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > JSON - Parser > Parser-Operations > !Node Operations > PSJ.ObjNextKey |
The PSJ.ObjNextKey command retrieves the next key name when iterating through a JSON object's properties.
Continue iterationLoop through all keysProcess each propertyUsed after ObjFirstKey
Quick Example
; Loop through object keys
PSJ.ObjFirstKey|objId|key
:LABEL LoopStart
JIF.EndLoop|key
; Process key
DBP.Property:
; Get next
PSJ.ObjNextKey|objId|key
JNO.LoopStart
:LABEL EndLoop
See Also