how to convert XML to JSON in angularjs? -


i want load xml file , convert json in angularjs on client side.

you have 2 options.

  1. return data api in format require prevent conversions (recommended).
  2. convert xml json using javascript.

for approach #2 i'll recommend solution http://goessner.net/download/prj/jsonxml/

and please sure read the article 'converting between xml , json' (by stefan goessner) overview details of problems conversions.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

android - How to prevent keyboard from closing when bottom dialog is open? -