Description
Parse idJson, reject any value other than a string or number, and return the resulting type label inside result.
Feature properties and foreign members are JSON metadata, distinct from the geometry coordinates. Exact key operations and ID type checks can preserve useful distinctions, but do not independently authenticate records or validate an entire Feature.
Parse idJson, reject any value other than a string or number, and return the resulting type label inside result.
When to use this tool
Use GeoJSON: Feature ID JSON Type Label when you need a literal GeoJSON metadata, identifier, or shallow-key operation.
How to use the tool and how it works
- Enter idJson. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Parse idJson, reject any value other than a string or number, and return the resulting type label inside result.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| idJson | Id Json | Required. Text. Implementation limit: 8192 Unicode code points and 16384 UTF-16 code units. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Object containing the calculated members; expand to inspect the fields below. | Required. Object. |
| result.kind | Kind | Calculated result member: string. |
{
"input": {
"idJson": "\"123\""
},
"output": {
"result": {
"kind": "string"
}
}
} Limitations and assumptions
- The tool classifies an ID value rather than an entire Feature. Numeric JSON may lose precision during parsing, and lexical spelling or identifier uniqueness is not preserved or checked.
- Outputs are nested inside result. Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Validate the complete Feature and its intended data model after editing. Preserve identifier precision and distinguish null values, absent members, collisions, and nested properties explicitly.
References
Similar or alternative tools
- Feature ID Number String Type Tag
Parse the supplied ID JSON value, label null explicitly and other values by JavaScript type, and accept only string or number identifiers.
- Feature ID Boolean Rejection
Parse an ID JSON value, label null and arrays separately, and return validIdentifier only for a string or finite number.