How to read "key" and "key1"'s value from below string. Its json but I can not parse as its very large number and its broke while parsing.
so, would like to read the somelongnumber and somelongnumber2 through string operation.
{key:somelongnumber,key1:somelongnumber2}
which would be the easiest way to get this value.
string with data:
{key:987680907568874555505607487995865555765995697489705794879988794489875875748987900769748746885877550977678595976099650577885777777684698859955669967959569775575067,key1:57069588960687005850750777094807006847879887980496989949579940779055857509947777847575786087598684799568577408880997966575750505586786988505685776878966949595807557508787784690576899698976897568855509907577566780999748589995405946407480098700854777748707067084789808075807709656084406888907505699899840957887847487008975787755684857507580057597799985874870997758507505954704880888999859760585587860777649885965487088048678878505979799046569808657874800555897997680907568874805607487995865555765995697489705794879988794489875875748987900769748746885877550977678455976099650577885777777684698859955669967959569775575067}
If you don't really want to deal with JSON serialization and DTO's and your only objective is to parse this input, you can try with something like this:
Although if you want a long term solution, better keep with JSON serialization.