skip to Main Content

How to parse this nested List json that has no keys on inner list objects?

I'm using an price API that returns a nested list {"prices":[ [1676505600000,24307.875101631602], [1676592000000,23756.907281577434] ], "market_caps":[ [1676505600000,468820317786.9533], [1676592000000,459293697174.9459], [1676678400000,475194230168.09973] ] } I can't figure out how to structure my Java Object so it's successfully parsed. I've tried public class QueryResult {…

VIEW QUESTION

Laravel json column show in view

I have a json column called additional_info. I want to be able to return the data held there with foreach as follows. <a href="additional_info->Addslack->slack"><i class="additional_info->Addslack->icon"></i> additional_info->Addslack->title </a> <a href="additional_info->Addgithub->github"><i class="additional_info->Addgithub->icon"></i> additional_info->Addgithub>title </a> ... like this { ....., "Addphone":{ "icon":"fas fa-phone-alt",…

VIEW QUESTION

Convert String to Decimal in Dynimc json

I have a dynamic json string: [{ "Id": "1", "Description": "Scenario 1", "fc": "-45156,60000", "fci": "-45156,60000", "fcii": null, "fciii": null, "fciv": null, }, { "Id": "1", "Description": "Scenario 2", "fc": "-45156,60000", "fci": "-45156,60000", }, { "Id": "1", "Description": "Scenario 3",…

VIEW QUESTION
Back To Top
Search