Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function encodes a UDR to a JSON formatted string.

Info
titleInfo!

 For cases where you would not want Big Integer or Big Decimal values to be converted into string, you can enable mz.apl.jsonencodeudr.ignore.bigint.convert in 2.6.3 Execution Context Properties.


Code Block
string jsonEncodeUdr 
	( DRUDR udr,
	 boolean serializeNulls) //optional


ParameterDescription

udr

The UDR to encode.

boolean(Optional) boolean to determine whether to serialise fields with null values. If no value is provided, it will serialise all null values by default.

Returns

A JSON formatted string.


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next: