code: public AvroMultiRuntimeDefinition fromString(final String serializedRuntimeDefinition) throws
            IOException{
      final JsonDecoder decoder = DecoderFactory.get().
              jsonDecoder(AvroMultiRuntimeDefinition.getClassSchema(), serializedRuntimeDefinition);
      final SpecificDatumReader<AvroMultiRuntimeDefinition> reader = new SpecificDatumReader<>(AvroMultiRuntimeDefinition
              .class);
      final AvroMultiRuntimeDefinition rd = reader.read(null, decoder);
      return rd;
    }
docs: Deserializes avro definition.
  @param serializedRuntimeDefinition serialized definition
  @return Avro object
  @throws IOException