Changes between Version 4 and Version 5 of Ticket #4421, comment 39


Ignore:
Timestamp:
2012-03-07T12:49:17+01:00 (12 years ago)
Author:
akks

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4421, comment 39

    v4 v5  
    2929</fragment>
    3030}}}
    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...
     31Only (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).
    3232
    3333What do you think about this mixed approach?