Hi,
after successfully reading data as OpcUa Complex Data i need to serialize the data in JSON format to store the measurement in a NoSQL database.
I already figured out how to serialize the data in XML format, but i was surprised that besides the actual data, the serialized XML contains tons of namespace information and type definitions. The desired JSON structure i hope to achive should be very close to the Debug Output created by UAGenericObject.ToString("V"), which just contains name and actual values.
Is there alreay a built-in mechanism to serialize a UAGenericObject (or any other data object) to JSON?
Thanks,
Jens
after successfully reading data as OpcUa Complex Data i need to serialize the data in JSON format to store the measurement in a NoSQL database.
I already figured out how to serialize the data in XML format, but i was surprised that besides the actual data, the serialized XML contains tons of namespace information and type definitions. The desired JSON structure i hope to achive should be very close to the Debug Output created by UAGenericObject.ToString("V"), which just contains name and actual values.
Is there alreay a built-in mechanism to serialize a UAGenericObject (or any other data object) to JSON?
Thanks,
Jens