Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: HMPJSON

Package: Enterprise Health Management Platform

Routine: HMPJSON


Information

HMPJSON ;SLC/KCM,ASMR/RRB - Decode/Encode JSON;9/25/2015 10:15

Source Information

Source file <HMPJSON.m>

Entry Points

Name Comments DBIA/ICR reference
DECODE(VVJSON,VVROOT,VVERR)
ENCODE(VVROOT,VVJSON,VVERR) ; VVROOT (M structure) --> VVJSON (array of strings)
; Examples: D ENCODE^HMPJSON("^GLO(99,2)","^TMP($J)")
; D ENCODE^HMPJSON("LOCALVAR","MYJSON","LOCALERR")
ESC(X) ; Escape string for JSON
UES(X) ; Unescape JSON string
ERRX(ID,VAL) ; Set the appropriate error message
; switch (ID) -- XERRX ends statement
XERRX ; end switch
Info |  Source |  Entry Points