Skip to content

gnmi enhancement to support json_ietf encoding and work when json_ietf_val is bytes string #58

@brunoonovais

Description

@brunoonovais
  • Can we support different encodings for get? I think we just need a new argument (already made local change and it works).
  • On top of that, when json_ietf_val is a bytes string, we hit json.decoder.JSONDecodeError exception. Example:

json_ietf_val = b'DIRECTLY_CONNECTED'

This could be a simple fix as well, which I've made locally and it works.

Thank you for the awesome library!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions