src/Provider/JsonProvider.php
/**
     * Creates a definition based on a provided JSON payload
     *
     * @throws BuilderException
     */
Creates a definition based on a provided JSON payload
@throws BuilderException
Creates a definition based on a provided JSON payload @throws BuilderException
public function create(mixed $payload, array $context = []): mixed
    {
        if (!$payload instanceof \stdClass) {
            return null;
        }
        return $this->buildDefinition($payload, $context);
    }
public function create ( mixed $ payload , array $ context = [ ] ) : mixed { if ( ! $ payload instanceof \ stdClass ) { return null ; } return $ this -> buildDefinition ( $ payload , $ context ) ; }
Creates a definition based on a provided JSON payload
 @throws BuilderException
Creates a definition based on a provided JSON payload @throws BuilderException