Re: problem in collecting json with names starting with a number
"Roskens, Ronald" <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <B6663E208B2DA14DBB3C6FABB9207F78ABD20615@biusmb4> |
If you are running 21, then the array is placed inside an "elements" object. Take a look at the JsonCollectorArrayIT unit test. https://github.com/OpenNMS/opennms/blob/develop/protocols/xml/src/test/java/org/opennms/protocols/json/collector/JsonCollectorArrayIT.java Ron From: onmstester onmstester [mailto:[email protected]] Sent: Wednesday, January 31, 2018 10:48 PM To: General OpenNMS Discussion Cc: 'General OpenNMS Discussion' Subject: Re: [opennms-discuss] problem in collecting json with names starting with a number Thank you. Since Elasticsearch's statistics Rest API does not comply with this rule i have to write my own http proxy between opennms and elasticsearch. Any idea about json array problem? ---------------------------------------------------------------------- This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss