code: 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);
          }
      }
docs: Creates a node for the specified object.
  
  @param builder The node builder.
  @param obj The object.
  @return The created node.