cronologic-de / xhptdc8_babel

Wrappers, Utilities and Examples for using the xHPTDC8 with various programming languages.
Mozilla Public License 2.0
0 stars 1 forks source link

Info tool output with lower case struct members #30

Closed sulimma closed 3 years ago

sulimma commented 3 years ago

Except for go all languages using the tool use lower case struct members. Therefore the JSON output should also be in lower case.

I guess the easiest way to accomplish that is to get the result from JSON.MarshallIndent() and the convert the whole string to lower case.

We need to check whether there are any strings returned that will be broken by this approach..

sulimma commented 3 years ago

This is done, isn't it?

Bassem-Ramzy commented 3 years ago

This is done, isn't it?

Done in the cgo code, still needs to be updated in Go dynamic link code

sulimma commented 3 years ago

Get rid of the dynamic link code. It is archived in the version history but should not confuse customers. Just present the most simple solution that we found.