bool hasPropertyEqual returns true if the JSONVar has a property named key and that key is equal to value.
myVar[key] != null && myVal[key] == value
JSONVar filter returns a JSONVar object containing objects who have properties named key and values matching value.
If no values are found it returns JSONVar(NULL, NULL)
If one value is found it returns a JSONVar Object
If multiple values are found it returns a JSONVar Array.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Joe Andolina seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it.
Added two new functions to handle filtering (filter) and testing for object property value testing (hasPropertyEqual).
bool hasPropertyEqual returns true if the JSONVar has a property named key and that key is equal to value.
myVar[key] != null && myVal[key] == value
JSONVar filter returns a JSONVar object containing objects who have properties named key and values matching value.
If no values are found it returns JSONVar(NULL, NULL) If one value is found it returns a JSONVar Object If multiple values are found it returns a JSONVar Array.