Interface IModelNodeNameAccessor
- Namespace
- MRX.Json.Reflection.Abstractions
- Assembly
- MRX.Json.Reflection.dll
Resolves the canonical member name that a JSON path token maps to on a model instance.
public interface IModelNodeNameAccessor
Methods
GetNodeName(string, object)
Gets the canonical name of the member that token refers to on container.
string? GetNodeName(string token, object container)
Parameters
tokenstringThe raw token text extracted from the JSON path.
containerobjectThe object instance the token should be resolved against.