JSON Pointer Paths: A Slash in a Field Name Is Not Another Object Level
A source field is named pump/pressure, but the integration looks for a pressure field inside a pump object. Both descriptions sound reasonable; they identify different locations in a JSON document. Before changing a decoder or renaming a source point, establish which path syntax the receiving implementation actually uses.

Under JSON Pointer, a slash separates reference tokens. A slash that belongs inside one member name needs the defined escape within that token.
1. Confirm the path language first
An integration may use JSON Pointer, JSONPath, dot notation or a product-specific mapping syntax. They are not interchangeable. Record the interface and version, the documented path language and the exact source document. A path copied from another tool may select a different value or fail entirely.
Discuss the actual data route through the ProSight Software platform overview. Confirm the supported mapping mechanism for the proposed deployment. The examples here explain JSON Pointer acceptance checks; they do not assert that a particular JSON Pointer editor or validator is included in every ProSight Software package.
RFC 6901 defines JSON Pointer as a sequence of reference tokens separated by slashes. Inside a token, the escape ~1 represents a literal slash, and ~0 represents a literal tilde. Evaluation decodes ~1 before ~0. This order matters for names that themselves contain characters resembling an escape.
2. Use an example that distinguishes the alternatives
Prepare a hypothetical offline document containing two values: a top-level member named pump/pressure with value 12, and a member named pump whose nested pressure value is 34. Under JSON Pointer, /pump~1pressure selects the first value, while /pump/pressure selects the nested value.
The unequal synthetic values are deliberate. If both were 12, an incorrect path could appear to work. Retain the exact document and expected result in a versioned fixture, then test the actual mapping implementation. Do not rely only on a screenshot of a displayed value.
Add a member containing a tilde, such as pump~pressure, and verify the pointer /pump~0pressure. Keep JSON string escaping separate from pointer-token escaping when a pointer is carried inside another JSON document. Do not repeatedly replace escape sequences until the text looks convenient; use the documented evaluation rules.

3. Define missing and malformed paths explicitly
Record the source member names exactly, preserving case and characters.
Confirm that the chosen interface documents JSON Pointer support.
Test literal slashes, literal tildes and an ordinary nested member with different values.
Test a missing member and invalid pointer syntax through the agreed error policy.
Verify the destination field, source identity and quality outcome after mapping.
A missing path must not silently become a real zero measurement or an inactive process state. The application contract should say whether the record is rejected, quarantined or represented with a separate quality indication. RFC 6901 defines evaluation failures but leaves application-specific error handling to the application.
For a control-related field, do not experiment with live commands to discover the path. Use sanitised offline records and an authorised integration test. Correctly locating a value does not establish its units, freshness, source quality or suitability for control.
4. Keep the diagnostic comparison compact
Pointer in the hypothetical fixture | Selected location |
/pump~1pressure | One top-level name containing a slash |
/pump/pressure | Pressure inside the pump object |
/pump~0pressure | One name containing a tilde |
/missing | Evaluation failure to handle explicitly |
The finite telemetry validation guide addresses the value after it has been selected. Keep path selection and numeric validation as separate checks: locating a field does not establish that its content is a usable measurement.
Does every JSON URL fragment use JSON Pointer?
No. Verify the media type and interface contract. A document being JSON is not, by itself, a declaration that its URL fragment uses JSON Pointer.
Can source fields be renamed instead?
Possibly, through a controlled schema change with the source owner. Preserve the original identity, affected consumers and migration rule; an ad hoc rename can break other integrations.
5. Recommended related solutions
Use a ProSight Software engineered integration assessment when source schemas and receiver mapping rules need reconciliation. Supply redacted payloads, the documented path language, expected fields and discriminating fixtures.
Ask the team to demonstrate both successful selection and the agreed missing-path outcome through the actual route. Confirm the engineering scope and supported implementation before treating an example as deployed functionality.
Primary reference: RFC 6901, JSON Pointer.
Need help with your application?
Send the exact equipment and interface versions, the required outcome and a sanitised example. Ask for a confirmed scope and an acceptance check suited to your application.
Phone: 1800 560 854
.png)
Comments