Skip to content
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

Fix JSON unmarshalling error (non-pointer objects.CommonObjectProperties) #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bradleyjkemp
Copy link

When unmarshalling a stix bundle that contains a custom type (causing the unmarshaller to hit the default case in this switch statement), the error json: Unmarshal(non-pointer objects.CommonObjectProperties) is returned because it's not being unmarshalled into a pointer type.

@bradleyjkemp
Copy link
Author

Ah I see this is a dupe of #15

@jordan2175 any chance of merging one of these PRs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant