private ImmutableNode toNode ( final Builder builder , final Object obj ) { assert ! ( obj instanceof List ) ; if ( obj instanceof Map ) { return mapToNode ( builder , ( Map < String , Object > ) obj ) ; } else { return valueToNode ( builder , obj ) ; } }
Creates a node for the specified object .