Delete duplicate objects by key
Created by: ghost
Hello! I'm using this library in Arduino.
There is a line with a dynamic number of objects: [ {"K": "Value"}, ..., {"K": "Value"} ] How to delete all objects {...}, in which the value of the key K is the same.
Example: Input: [ {"K":"10"},{"K":"12"},{"K":"15"},{"K":"12"},{"K":"15"} ] Output: [ {"K":"10"},{"K":"12"},{"K":"15"} ]
Help me please!