com.fasterxml.jackson.dataformat.avro.deser

## Class StructDefaults

- java.lang.Object
- - com.fasterxml.jackson.dataformat.avro.deser.StructDefaults

-     public class StructDefaults
      extends Object

  Default-providing `AvroFieldReader` implementations for structured types. Built solely based on JSON default values, for now, so only two variants needed. In future may need to tie to Avro type hierarchy more closely.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `protected static class` | `StructDefaults.ArrayDefaults`
    `protected static class` | `StructDefaults.ObjectDefaults`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StructDefaults()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static AvroFieldReader` | `createArrayDefaults(String name, List<AvroFieldReader> fieldReaders)`
    `static AvroFieldReader` | `createObjectDefaults(String name, List<AvroFieldReader> fieldReaders)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StructDefaults

          public StructDefaults()

  - ### Method Detail

    - #### createObjectDefaults

          public static AvroFieldReader createObjectDefaults(String name,
                                             List<AvroFieldReader> fieldReaders)

    - #### createArrayDefaults

          public static AvroFieldReader createArrayDefaults(String name,
                                            List<AvroFieldReader> fieldReaders)

Copyright © 2017 FasterXML. All rights reserved.