public static void Serialize_vci_animationReferences_ITEM(JsonFormatter f, glTF_VCAST_vci_animationReference value) { f.BeginMap(); if (value.animation >= 0) { f.Key("animation"); f.Value(value.animation); } f.EndMap(); }
public static glTF_VCAST_vci_animationReference glTF_VCAST_vci_animation_Deserializevci_animationReferences_ITEM(JsonNode parsed) { var value = new glTF_VCAST_vci_animationReference(); foreach (var kv in parsed.ObjectItems()) { var key = kv.Key.GetString(); if (key == "animation") { value.animation = kv.Value.GetInt32(); continue; } } return(value); }