5 ms·
I am not up on this but in XML world I would have used XPath. I see there are both JsonPath and JsonQuery gems that seem to be geared for this kind of stuff.
by woan 15y ago
I am not up on this but in XML world I would have used XPath. I see there are both JsonPath and JsonQuery gems that seem to be geared for this kind of stuff.
- darkxanthos 15y agoI thought they just query...? Actually, I was just prototyping this in Ruby for porting to C#... I couldn't find anything in c# to do this either. I basically have .NET objects I'm serializing out to JSON then I want to take that JSON and use what I did here and then bring it back into .NET objects. This may not be my final solution (I may opt for reflection in the end) but I want to see this solution through.