I have two JSON arrays , I need to get the modulus difference of the JSON object keys. My array list can have 1000s of elements. How to calculate it efficiently? Is there a way to do it parallelly without using loop?
For example
js1 = [{'myVal':100},{'myVal':200}]
js2 = [{'myVal':500},{'myVal':800}]
Result should be :
[{'myVal':400},{'myVal':600}]