Validate values between arrays

27 views
Skip to first unread message

Charles Sartori

unread,
Jul 1, 2015, 1:08:15 PM7/1/15
to jsons...@googlegroups.com
I have the following json:

{
    "array1": ["a", "b", "c"],
    "array2": ["c", "d", "e"]
}

I would like to raise an error because both arrays have the same "c" element. The merge between both arrays must be unique, Is that possible?
Reply all
Reply to author
Forward
0 new messages