JSON Examples
JSON is an emerging standard in use in many web applications. Some Discover modules use JSON POSTs for submitting data from the client to Discover for capture. The following example content types can be displayed in Discover- or application-sourced data.
- Request Type
- DNCA Content Type Evaluation
text/json
- Request is considered a known text content type. When the request body processing is complete, it is a known content type and is processed accordingly.
application/json
- If the request content type is
application/json
and is not defined in the Capture All POST types list, then it is an unknown type for the DNCA. No processing of the request body is performed, and the hit is dropped. application/json
- If the request content type is
application/json
and is defined in the Capture All POST types list, then it is a known type for the DNCA. If it is not listed on the XML or Binary type lists, it is considered a text type and is processed as text.
For more information about the Discover JSON schema, which is used to capture content from Discover client frameworks, see "Discover JSON Object Schema Reference" in the Unica Discover Client Framework Data Integration Guide.