Fix another two bugs in json to xml convert library
authorEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Fri, 8 May 2020 13:05:44 +0000 (15:05 +0200)
committerEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Fri, 8 May 2020 13:05:44 +0000 (15:05 +0200)
commit5abfe5c116fe0301935d38e7981cb20ee4ed44cc
treec25aac4b92ef08d854a4e31fdc90bb7cd5e70dd0
parent093f17a4672cd1eb920acf53cd9bec7390348011
Fix another two bugs in json to xml convert library

The first one: the third nested child in 'test.json' was being
considered 'grandchild', that is to say, stack pop was not
correctly managed. The problem arised when poping after a
nested previous array. Fixed with new control booleans.

Also, a problem to finish a parent node xml tag arised when
we had two consecutive nested levels. This is ensured and
tested with new 'test2.json'.
include/anna/json/SaxConsumer.hpp