Changes between Version 3 and Version 4 of Ticket #4421, comment 39
- Timestamp:
- 2012-03-07T11:42:45+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4421, comment 39
v3 v4 29 29 </fragment> 30 30 }}} 31 Only (but not very big) problem is to obtain <preferences id="1"> body as JSON (can you propose good and short DOM/String XML to JSON function to include in JOSM?). And no XPath :) XPath could be useful for searching '''original''' (existing) preferences, but it is JSON format. It would be very good if you add some API method to return modifiable part of preferences by XPath (including defaults...). 31 Only (but not very big) problem is to obtain <preferences id="1"> body as JSON (can you propose good and short DOM/String XML to JSON function to include in JOSM?). And no XPath :) XPath could be useful for searching '''original''' (existing) preferences, but it is JSON format. It would be very good if you add some API method to return modifiable part of preferences by XPath (including defaults...). I am not even sure if it is possible... 32 32 33 33 What do you think about this mixed approach?