VPRJSONE ;SLC/KCM -- Encode JSON
Source file <VPRJSONE.m>
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| ENCODE(VVROOT,VVJSON,VVERR) | ; VVROOT (M structure) --> VVJSON (array of strings)
|
|
| DIRECT | ; TAG for use by ENCODE^VPRJSON
|
|
| SEROBJ(VVROOT) | ; Serialize into a JSON object
|
|
| SERARY(VVROOT) | ; Serialize into a JSON array
|
|
| SERNAME(VVSUB) | ; Serialize the object name into JSON string
|
|
| SERVAL(VVROOT,VVSUB) | ; Serialize X into appropriate JSON representation
|
|
| CONCAT | ; come here to concatenate to JSON string
|
|
| ISVALUE(VVROOT,VVSUB) | ; Return true if this is a value node
|
|
| NUMERIC(X) | ; Return true if the numeric
|
|
| ESC(X) | ; Escape string for JSON
|
|
| UCODE(C) | ; Return \u00nn representation of decimal character value
|
|
| ERRX(ID,VAL) | ; Set the appropriate error message
|