-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json: cannot unmarshal string into Go struct field Info.architecture of type topology.Architecture #283
Comments
Hi @Techno-Fox thanks for the report! I'll have a look ASAP! |
ffromani
added a commit
to ffromani/ghw
that referenced
this issue
Oct 21, 2021
After we fixed jaypipes#275 (allow marshal/unmarshal cycle for block.Info), we discovered few more occourrences which also prevented full JSON encode/decode/encode cycles (aka roundtrips). All of the new findings still see unnecessary limitations, so this patch adds the missing functions. Fixes: jaypipes#283 Signed-off-by: Francesco Romani <[email protected]>
This time I reviewed all the types implementing
|
ffromani
added a commit
to ffromani/ghw
that referenced
this issue
Oct 21, 2021
After we fixed jaypipes#275 (allow marshal/unmarshal cycle for block.Info), we discovered few more occourrences which also prevented full JSON encode/decode/encode cycles (aka roundtrips). All of the new findings still see unnecessary limitations, so this patch adds the missing functions. Fixes: jaypipes#283 Signed-off-by: Francesco Romani <[email protected]>
ffromani
added a commit
to ffromani/ghw
that referenced
this issue
Oct 21, 2021
After we fixed jaypipes#275 (allow marshal/unmarshal cycle for block.Info), we discovered few more occourrences which also prevented full JSON encode/decode/encode cycles (aka roundtrips). All of the new findings still see unnecessary limitations, so this patch adds the missing functions. Fixes: jaypipes#283 Signed-off-by: Francesco Romani <[email protected]>
ffromani
added a commit
to ffromani/ghw
that referenced
this issue
Oct 21, 2021
After we fixed jaypipes#275 (allow marshal/unmarshal cycle for block.Info), we discovered few more occourrences which also prevented full JSON encode/decode/encode cycles (aka roundtrips). All of the new findings still see unnecessary limitations, so this patch adds the missing functions. Fixes: jaypipes#283 Signed-off-by: Francesco Romani <[email protected]>
jaypipes
added a commit
that referenced
this issue
Oct 26, 2021
topology: memory: allow encode/decode cycle (#283)
ffromani
added a commit
to ffromani/ghw
that referenced
this issue
Nov 19, 2021
After we fixed jaypipes#275 (allow marshal/unmarshal cycle for block.Info), we discovered few more occourrences which also prevented full JSON encode/decode/encode cycles (aka roundtrips). All of the new findings still see unnecessary limitations, so this patch adds the missing functions. Fixes: jaypipes#283 Signed-off-by: Francesco Romani <[email protected]>
ffromani
added a commit
to ffromani/ghw
that referenced
this issue
Nov 23, 2021
After we fixed jaypipes#275 (allow marshal/unmarshal cycle for block.Info), we discovered few more occourrences which also prevented full JSON encode/decode/encode cycles (aka roundtrips). All of the new findings still see unnecessary limitations, so this patch adds the missing functions. Fixes: jaypipes#283 Signed-off-by: Francesco Romani <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a new one that came up. I noticed my structure wouldn't Unmarshal.
This was the error: json: cannot unmarshal string into Go struct field Info.architecture of type topology.Architecture
Example:
The text was updated successfully, but these errors were encountered: