Class SparseFieldTypeParser
- Namespace
- JsonApiDotNetCore.Queries.Parsing
- Assembly
- JsonApiDotNetCore.dll
Parses the JSON:API 'fields' query string parameter name.
[PublicAPI]
public class SparseFieldTypeParser : QueryExpressionParser, ISparseFieldTypeParser
- Inheritance
-
SparseFieldTypeParser
- Implements
- Inherited Members
Constructors
SparseFieldTypeParser(IResourceGraph)
public SparseFieldTypeParser(IResourceGraph resourceGraph)
Parameters
resourceGraph
IResourceGraph
Methods
Parse(string)
Parses the specified source into a ResourceType. Throws a QueryParseException if the input is invalid.
public ResourceType Parse(string source)
Parameters
source
stringThe source text to read from.
Returns
ParseSparseFieldType()
protected virtual ResourceType ParseSparseFieldType()