FOR JSON additional options

In both modes of the FOR JSON clause, you can specify additional options to control the output. The following options are available:

  • Add a root node: This option allows you to add a top-level element to the JSON output.
  • Include null values: This option allows you to include null values in the JSON output (by default they are not shown).
  • Remove array wrapper: By using this option, you can format JSON output as a single object.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.227.52.7