"In deserializeNodeGuessed(), getObjectFieldValue( {} ) returned '{}'",
inputNode, typeInfo );
ValueDescriptor valueDescriptor = valuesModule().valueDescriptor( typeInfo );
if( valueDescriptor == null )
{
throw new ValueSerializationException( "Specified value type could not be resolved: " + typeInfo );
}
valueCompositeType = valueDescriptor.valueType();
TREE_PARSING_LOG.debug(
"Overriding {} with {} as defined in _type field.",
valueType, valueCompositeType );
}
else // without _type info
{
ValueDescriptor valueDescriptor = valuesModule().valueDescriptor( first( valueType.types() ).getName() );
if( valueDescriptor == null )
{
throw new ValueSerializationException( "Don't know how to deserialize " + inputNode );
}
valueCompositeType = valueDescriptor.valueType();
TREE_PARSING_LOG.debug(
"Overriding {} with {} as found in available ValueComposites.",
valueType, valueCompositeType );