- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for jsonserializer (6.45 sec)
-
schema/serializer.go
type SerializerValuerInterface interface { Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) } // JSONSerializer json serializer type JSONSerializer struct{} // Scan implements serializer interface func (JSONSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) { fieldValue := reflect.New(field.FieldType) if dbValue != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 08:28:46 UTC 2024 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/yaml/yaml.go
var _ runtime.Serializer = yamlSerializer{} // NewDecodingSerializer adds YAML decoding support to a serializer that supports JSON. func NewDecodingSerializer(jsonSerializer runtime.Serializer) runtime.Serializer { return &yamlSerializer{jsonSerializer} } func (c yamlSerializer) Decode(data []byte, gvk *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { out, err := yaml.ToJSON(data)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 14:09:48 UTC 2017 - 1.4K bytes - Viewed (0)