mirror of
https://github.com/meshtastic/python.git
synced 2026-09-15 06:52:41 -04:00
Problem: Missing fields are omitted. Solution: This fix sets the flag `always_print_fields_with_no_presence` in the invocation of the protobuff method `MessageToJson` will display the missing fields. see: MessageToJson https://github.com/protocolbuffers/protobuf/blob/6b36eb633ccc9c585ed1ead117fca91702814027/python/google/protobuf/json_format.py#L82 see: issue #506 https://github.com/meshtastic/python/issues/506