Here is some json data:
[
{"a":"abc","b:":"10"},//"a":"abc"
{"a":"abd","b:":"12"},
{"a":"abc","b:":"14"},//"a":"abc"
{"a":"abe","b:":"15"},
{"a":"abf","b:":"16"},
{"a":"abg","b:":"17"},//"a":"abg"
{"a":"abg","b:":"19"}//"a":"abg"
]
I want remove all the duplicate values in the child node "a" (remain the first appear one).
Output =>
[
{"a":"abc","b:":"10"},//first appear "a":"abc"
{"a":"abd","b:":"12"},
{"a":"abe","b:":"15"},
{"a":"abf","b:":"16"},
{"a":"abg","b:":"17"}//first appear "a":"abg"
]