You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
am facing hard time trying to encode a json object, the object is nested and I expected to set values to normal primitives, strings, integers,etc ...
what happens is when I try to encode the object I get the error ...
asn1tools.codecs.EncodeError: Record.sgRecordd.servedIMSI: Expected data of type bytes or bytearray, but got 24004381816652F8.
which seems to be expecting me to convert data type before encoding ... this is also happening for nested objects ... where it expectes me to convert them to tuples beforehand ...
is that expected ?
the sample on the website is very basic and doesn't cover similar scenairos, appreciate to clarify the right method to encode such data
The text was updated successfully, but these errors were encountered:
am facing hard time trying to encode a json object, the object is nested and I expected to set values to normal primitives, strings, integers,etc ...
what happens is when I try to encode the object I get the error ...
asn1tools.codecs.EncodeError: Record.sgRecordd.servedIMSI: Expected data of type bytes or bytearray, but got 24004381816652F8.
which seems to be expecting me to convert data type before encoding ... this is also happening for nested objects ... where it expectes me to convert them to
tuples
beforehand ...is that expected ?
the sample on the website is very basic and doesn't cover similar scenairos, appreciate to clarify the right method to encode such data
The text was updated successfully, but these errors were encountered: