HMPJSONE ;SLC/KCM,ASMR/RRB - Encode JSON;9/25/2015 10:17
Source file <HMPJSONE.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Enterprise Health Management Platform | 1 | HMPJSON |
Name | Comments | DBIA/ICR reference |
---|---|---|
ENCODE(VVROOT,VVJSON,VVERR) | ; VVROOT (M structure) --> VVJSON (array of strings)
|
|
DIRECT | ; TAG for use by ENCODE^HMPJSON
|
|
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
|
|
JNUM(N) | ; Return JSON representation of a number
|
|
UCODE(C) | ; Return \u00nn representation of decimal character value
|
|
ERRX(ID,VAL) | ; Set the appropriate error message
|
Name | Line Occurrences |
---|---|
$$ESC | SERVAL+14, SERVAL+18 |
$$ISVALUE | SEROBJ+9, SERARY+6 |
$$JNUM | SERVAL+11 |
$$UCODE | ESC+8, ESC+9 |
CONCAT | SERVAL+4, SERVAL+5, SERVAL+9, SERVAL+11, SERVAL+12, SERVAL+15, SERVAL+19, SERVAL+20 |
ERRX | SEROBJ+15, SERARY+11 |
SERARY | SEROBJ+13, SERARY+9 |
SERNAME | SEROBJ+7 |
SEROBJ | DIRECT+15, SEROBJ+14, SERARY+10 |
SERVAL | SEROBJ+9, SERARY+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
C | UCODE~, UCODE+1 |
FROM | ESC+1~, ESC+4*, ESC+5, ESC+6*, ESC+8, ESC+9 |
H | UCODE+1~*, UCODE+2 |
I | ESC+1~, ESC+5*, ESC+6*, ESC+10 |
ID | ERRX~, ERRX+1 |
N | JNUM~, JNUM+1, JNUM+2, JNUM+3, JNUM+4, JNUM+5 |
PAIR | ESC+1~, ESC+3*, ESC+4 |
TO | ESC+1~, ESC+4*, ESC+5 |
VAL | ERRX~, ERRX+1 |
VVDONE | SERVAL+1~, SERVAL+7*, SERVAL+10, SERVAL+11*, SERVAL+12* |
VVERR | ENCODE~, DIRECT+9* |
VVERRORS | DIRECT+12~, DIRECT+13* |
VVFIRST | SEROBJ+1~, SEROBJ+3*, SEROBJ+5*, SERARY+1~, SERARY+3*, SERARY+5* |
VVI | SERARY+1~, SERARY+4*, SERARY+6, SERARY+7, SERARY+9, SERARY+10, SERARY+11, SERVAL+1~, SERVAL+5*, SERVAL+17* , SERVAL+18 |
VVJSON | ENCODE~, DIRECT+11, DIRECT+14, SEROBJ+2, SEROBJ+5, SEROBJ+16, SERARY+2, SERARY+5, SERARY+12, SERNAME+2 , SERNAME+3, CONCAT+1, CONCAT+2 |
VVLINE | DIRECT+12~, DIRECT+13*, DIRECT+14, SEROBJ+2, SEROBJ+5, SEROBJ+16, SERARY+2, SERARY+5, SERARY+12, SERNAME+2* , SERNAME+3, CONCAT+1*, CONCAT+2 |
VVMAX | DIRECT+12~, DIRECT+13*, SERNAME+2, CONCAT+1 |
VVNXT | SEROBJ+1~, SEROBJ+11*, SEROBJ+13, SERARY+1~, SERARY+7*, SERARY+9 |
VVROOT | ENCODE~, DIRECT+10, DIRECT+15, SEROBJ~, SEROBJ+4, SEROBJ+9, SEROBJ+11, SEROBJ+13, SEROBJ+14, SERARY~ , SERARY+4, SERARY+6, SERARY+7, SERARY+9, SERARY+10, SERVAL~, SERVAL+3, SERVAL+4, SERVAL+5, SERVAL+7 , SERVAL+9, SERVAL+10, SERVAL+16, SERVAL+17, SERVAL+18, ISVALUE~, ISVALUE+1, ISVALUE+2 |
VVSUB | SEROBJ+1~, SEROBJ+4*, SEROBJ+7, SEROBJ+9, SEROBJ+11, SEROBJ+13, SEROBJ+14, SEROBJ+15, SERNAME~, SERNAME+1* , SERNAME+2, SERNAME+3, SERVAL~, SERVAL+3, SERVAL+4, SERVAL+5, SERVAL+7, SERVAL+9, SERVAL+10, SERVAL+16 , SERVAL+17, SERVAL+18, ISVALUE~, ISVALUE+1, ISVALUE+2 |
VVX | SERVAL+1~, SERVAL+4*, SERVAL+5*, SERVAL+7*, SERVAL+9*, SERVAL+10, SERVAL+11*, SERVAL+12, SERVAL+14*, SERVAL+18* , SERVAL+20*, CONCAT+1, CONCAT+2, ISVALUE+2~*, ISVALUE+3, ISVALUE+4 |
X | NUMERIC~, NUMERIC+1, NUMERIC+2, NUMERIC+3, NUMERIC+4, NUMERIC+5, NUMERIC+6, NUMERIC+7, NUMERIC+8, NUMERIC+9* , NUMERIC+10, NUMERIC+11, ESC~, ESC+2, ESC+5*, ESC+6*, ESC+10 |
Y | ESC+1~, ESC+2*, ESC+5*, ESC+6*, ESC+8*, ESC+9*, ESC+10*, ESC+11 |