What format is this?

When I run the following command in aqbanking

aqbanking-cli request -a 0987654321 -c transactions.ctx --transactions --fromdate=20121011 

a content file is created as shown below. What format is it, I'm trying to find a C library that parses it.

From transaction.ctx file:

 accountInfoList { accountInfo { char bankCode="1234567890" char bankName="Deutsche Bank" char accountNumber="0987654321" char accountName="Girokonto" char owner="MUELLER, MIKE" char currency="EUR" int accountType="0" int accountId="42" statusList { status { int time="1349956800" notedBalance { value { char value="8799384%2F100" char currency="EUR" } #value int time="1349956800" } #notedBalance } #status } #statusList } #accountInfo } #accountInfoList 
+4
source share
1 answer

This is not a standard file format. This is the file format from the Gwenhywfar library. http://freecode.com/projects/gwenhywfar

From the list of functions in README,

 High-level functions for parsing files with a simplified "XML-like" format and accessing them like a hierarchical database (src/parser/) It is able to process valid XML files, too. 

There is a C ++ function in the src / parser folder that you can probably use, but the documentation looks a bit devoid.

+2
source

Source: https://habr.com/ru/post/1439253/


All Articles