[Olsr-dev] [PATCH v1 00/44] jsoninfo/txinfo cleanup series

Ferry Huberts (spam-protected)
Mon Nov 30 13:33:55 CET 2015

On 30/11/15 13:09, Henning Rogge wrote:
> On Mon, Nov 30, 2015 at 12:07 PM, Claudio Pisa <(spam-protected)> wrote:
>>> Most of the series is basic cleanup but there are a few significant changes:
>>> 16/44: The sent information is reordered (remember that you should not depend
>>>         on screen scraping?)
>> Hi, Ferry, all.
>> The reordering patch above will indeed break some stuff, but if you
>> think it's needed we'll try to update our code...
> So there is really code that parse the /all output AND depends on the
> order? Wow... Hmm...
> I wonder if it would be a good idea to see if its easier to move the
> code to the JSONinfo plugin... OpenWRT uses JSON a lot, so parsing
> should be in fact easier than the txtinfo mess.
> @Ferry: a good idea how we can add some compatibility code?

Like I said, I'll add Java/OSGi bundles later, when work is complete.
You can then use those to interface with jsoninfo.

json is the better choice and provides more information.

> Or maybe just keep a "txtinfo" around and add a txtinfo2?

I'm not for that, even more duplication

More information about the Olsr-dev mailing list