Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: SDESBUILDJSON

SDESBUILDJSON.m

Go to the documentation of this file.
  1. SDESBUILDJSON ;ALB/RRM - BUILD JSON RETURN FORMAT VISTA SCHEDULING RPCS ;MAY 27, 2022@11:48
  1. ;;5.3;Scheduling;**818**;Aug 13, 1993;Build 9
  1. ;;Per VHA Directive 6402, this routine should not be modified
  1. ;
  1. Q
  1. ;
  1. BUILDJSON(JSONRETURN,INPUT) ;
  1. ; Input:
  1. ; JSONRETURN [Required] = destination variable for the string array formatted as JSON
  1. ; INPUT [Required] = closed array reference for M representation of object
  1. ;
  1. ; Output:
  1. ; JSONRETURN = the string array formatted as JSON
  1. ;
  1. N JSONERROR
  1. S JSONERROR=""
  1. D ENCODE^XLFJSON("INPUT","JSONRETURN","JSONERROR")
  1. Q
  1. ;