![]() ![]() ![]() emptyNodeForm : "text"|"object" - Handling empty nodes (text|object) mode.Use this property if you want X2JS generates additional property _asArray to access in array form for any XML element. arrayAccessForm : "none"|"property" - The array access form (none|property).attributePrefix : "" - Prefix for XML attributes in JSon model.escapeMode : true|false - Escaping XML characters.asXmlDateTime - Utility function to convert the specified parameter to XML DateTime from JS Date or timestamp asDateTime - Utility function to convert the specified parameter from XML DateTime to JS Date asArray - Utility function to work with a JSON field always in array form json2xml_str - Convert JSON to XML string xml_str2json - Convert XML specified as string to JSON json2xml - Convert JSON to XML DOM Object xml2json - Convert XML specified as DOM Object to JSON New X2JS(config) - to create your own instance with additional config New X2JS() - to create your own instance to access all library functionality The library is very small and has no any dependencies. This library provides XML to JSON (JavaScript Objects) and vice versa javascript conversion functions. X2js - XML to JSON and vice versa for JavaScript ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |