Open VictorSaraiva opened 3 years ago
Unfortunately .json()
and .dict()
are not following any order. I am also thinking about ordering if possible to implement.
Thanks for the quick response. it would have been nice to have the resourceType as the first key, it would have made the json result more readable. I'm closing the ticket.
Issue can be closed
@nazrulworld i see you fixed it in ref:ff4e8c3 - did it affect the performance of json
and dict
?
Honestly speaking, I didn´t any benchmarks yet. Should not downgrade of performance.
Description
I've built a diagnostic report resource but when I print json the resourceType is the last key. I was expecting the resourceType to be the first key. How can I fix this? please
What I Did
{"identifier": [{"value": "21-48608871"}], "issued": "2021-03-05T11:45:33+11:00", "status": "final", "resourceType": "DiagnosticReport"}