method
Artifact.UnmarshalJSON
UnmarshalJSON uses the same fail-closed versioned decoder as artifact files.
Arguments
| Argument | Type | Description |
|---|---|---|
encoded | []byte | The encoded value. |
Returns
The declared result.
errorFull signature
func (artifact *Artifact) UnmarshalJSON(encoded []byte) errorRelated types
ArtifactThe immutable definition of one migration.