diff --git a/serialization/untyped_node.go b/serialization/untyped_node.go index 6ecc06c..e376fda 100644 --- a/serialization/untyped_node.go +++ b/serialization/untyped_node.go @@ -28,6 +28,6 @@ func NewUntypedNode() *UntypedNode { } // CreateUntypedNodeFromDiscriminatorValue a new untyped node and from a parse node. -func (m *UntypedNode) CreateUntypedNodeFromDiscriminatorValue(parseNode ParseNode) (Parsable, error) { +func CreateUntypedNodeFromDiscriminatorValue(parseNode ParseNode) (Parsable, error) { return NewUntypedNode(), nil }