Ahmad Albatsh
Ahmad Albatsh

Reputation: 434

Is there something similar to OPENJSON in android?

OPENJSON is a table-valued function that parses JSON text and returns objects and properties from the JSON input as rows and columns. OPENJSON

I want to deserilize Json into objects, but I want to access parts of the Json not parse it all. I'm using android Kotlin with Room database, if there is a solution in Room maybe.

Upvotes: 0

Views: 42

Answers (1)

Konstantin Pribluda
Konstantin Pribluda

Reputation: 12367

You can use any pure java library in android. Google GSON would be a good choice and with some minimal tweaking you can ignore unnecessary parts of JSON objects

Upvotes: 2

Related Questions