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
STIX 2.1 allows for custom objects. However, bundle.Decode() currently does not allow for them as the decoding of objects is hardcoded with a fallback to a generic object.STIXObject. Optimally, one can introduce custom STIX objects into a project and provide a type to DecodeFunc mapping which in turn bundle.Decode() uses to decode custom objects in a STIX bundle.
The text was updated successfully, but these errors were encountered:
STIX 2.1 allows for custom objects. However,
bundle.Decode()
currently does not allow for them as the decoding of objects is hardcoded with a fallback to a genericobject.STIXObject
. Optimally, one can introduce custom STIX objects into a project and provide atype
toDecodeFunc
mapping which in turnbundle.Decode()
uses to decode custom objects in a STIX bundle.The text was updated successfully, but these errors were encountered: