Convert Value to JSON
2017 R1 Update Rollup 1

Convert Value to JSONPermanent link for this heading

The use case Convert value to JSON (FSCEXPEXT@.1001:Value2JSON) is used to convert Fabasoft Folio values into a JSON string.

Example

app.ducx Use Case Language

import FSCEXPEXT@1.1001;

usecase SampleConvertJSONToValue() {
  variant Object {
    impl = expression {
      string json = coouser.Value2JSON(coouser);
    }
  }
}

// resulting JSON string
{
  "_": "User",
  "objaddress": "COO.1.1065.1.15",
  "objname": "Administrator, System"
}