Versions Compared

Key

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

Find more about JSON on Wikipedia: https://en.wikipedia.org/wiki/JSON.

...

Excerpt
Include Page
TERMS:JSON
TERMS:JSON

JSON's basic data types are:

  • Number: a signed decimal number that may contain a fractional part and may use exponential E notation , but cannot include non-numbers such as NaN. The format makes no distinction between integer and floating-point. JavaScript uses a double-precision floating-point format for all its numeric values, but other languages implementing JSON may encode numbers differently.

  • String: a sequence of zero or more Unicode characters. Strings are delimited with double quotation marks and support a backslash escaping syntax.

  • Boolean: either of the values true or false

  • Array: An ordered list of zero or more values, each of which may be of any type. Arrays use square bracket notation with comma-separated elements.

  • Object: an unordered collection of name-value pairs where the names (also called keys) are strings. Objects represent associative arrays [8], where each key is unique within an object. Objects are delimited with curly brackets, and use commas are used to separate each pair, while within each pair, the colon ':' character separates the key or name from its value.

  • null: an empty value, using the word null

...

See JSON in Display Pattern Editor

You find the JSON in the display pattern editor in JSON preview:
Image Removed

...

  1. kind: shows the type of content, e.g., ContentDoc for content items or ListItemDoc for list items.

  2. fileTransferId: shows all assigned contentPermissionSets

  3. ownerTokenId: shows the

...

  1. ID of the owner

  2. contentType: shows the type of content, e.g., File or Virtual

  3. backup information

  4. contentSchemaId: is the underlying schema of type file type or virtual type with the assigned layers.

    1. In data, you find all available metadata values from the item

  5. brokenReferenceIds, RelationTargetIds, and IndirectReferenceIds are for system checks to ensure data integrity. You can use those fields to check for any broken references in the system to fix them.

  6. lifeCycle: is the state of the item, whereas inactive items are no longer available in the system

  7. id: the ID of the item, which is also shown in the URL when opening the item in the item detail view

  8. docType: refers to the kind and the corresponding index in the database, e.g., ContentDoc or ListItemDoc

  9. audit: shows information about creation and modification.

See JSON in Chrome Developer Tools

You can see the JSON of an item by { opening up the item detail view and check checking in the developer tools (Chrome F12) in the network the response for the corresponding item, shown as id: Image Removed

...