|
|
|
|
|
by chii
1007 days ago
|
|
> There is no direct mapping between your data structure and the XML file. i think that's by design tbh. it's only a big win for JSON (and YAML) because the default case works OK - but every time someone has a problem parsing numbers in JSON (because the value is bigger than Integer.MAX in the host language), this is the cause. |
|
Take any random REST API for example. If it returns JSON, you can integrate it more easily than if it returned XML. If you need special cases like large numbers (or date-times), you handle only those.