Changes between Version 4 and Version 5 of Ticket #4421, comment 39
- Timestamp:
- 2012-03-07T12:49:17+01:00 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4421, comment 39
v4 v5 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...). I am not even sure if it is possible...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... I also do not know, how to implement "API" correctly (see patch). 32 32 33 33 What do you think about this mixed approach?