I have a JSON text file in my Windows 10 Universal App that is rather large (>40MB). It's an array of objects like this:
[{"prop1": "X", "prop2": "hjk", "prop3": "abc"},
{"prop1": "X", "prop2": "lmn", "prop3": "def"},
{"prop1": "Y", "prop2": "opq", "prop3": "abc"},
{"prop1": "Y", "prop2": "rst", "prop3": "def"}]
I want to be able to retrieve only a few lines, for example every object that includes the string "abc" in any property and also "Y" on prop1.
Expected result:
[{prop1: "Y", prop2: "opq", prop3: "abc"}]
I'm afraid of deserializing it all as it might be too much for lower-end devices like phones. Can this be done perhaps using JSON.NET?