JSON Array Deduplicator
JSON Array Deduplicator lets you remove repeated JSON array values using canonical object-key ordering. Enter your own values or load the worked example.
- Copy or download the computed result
- Adjust json array
- See the processing method and limits
Method and calculation
Remove repeated JSON array values using canonical object-key ordering.
Inputs and settings
JSON Array Deduplicator accepts JSON array.
Worked example
JSON Array Deduplicator example — JSON array: "[1,2,2,{\"a\":1},{\"a\":1}]". Computed output: [ 1, 2, { "a": 1 } ]
Output and limitations
JSON Array Deduplicator: Input is treated as plain text; it is never executed.
Technical references: RFC 8259 JSON format
JSON Array Deduplicator FAQs
JSON Array Deduplicator applies the following rule to your input: Remove repeated JSON array values using canonical object-key ordering. The worked example on this page uses the same processor as the result button.
JSON Array Deduplicator has these boundaries: Input is treated as plain text; it is never executed. Start by checking the json array field against the units or format shown.
JSON Array Deduplicator provides this sample: [ 1, 2, { "a": 1 } ]. Use the sample button to reproduce it, then replace the inputs with your own values.