I'm working on integrating an API in my FlutterFlow project that returns a JSON response with special characters in the keys, such as $values
. The API response looks something like this:
"$id": "1",
"status": "OK",
"data": {
"$id": "2",
"pageNumber": 1,
"pageSize": 25,
"totalPages": 0,
"totalRecords": 0,
"results": {
"$id": "3",
"$values": []
}
}
My goal is to access the $values
array inside data.results
by JSON path like $.data.results.$values but Iโm facing issues due to the $
character in the key.