Skip to content
v2.274.0

IResolveContext Interface ​

Current resolution context for tokens.

Properties ​

documentPathstring[]document_pathtyping.List[str]documentPathList<String>DocumentPathstring[]DocumentPath*[]*string#
Path in the JSON document that is being constructed.
preparingbooleanpreparingboolpreparingBooleanPreparingboolPreparing*bool#
True when we are still preparing, false if we're rendering the final output.
The scope from which resolution has been initiated.

Methods ​

registerPostProcessor(postProcessor: IPostProcessor): voiddef register_post_processor(self, post_processor: IPostProcessor) -> Nonepublic void registerPostProcessor(IPostProcessor postProcessor)public void RegisterPostProcessor(IPostProcessor postProcessor)func RegisterPostProcessor(PostProcessor IPostProcessor)#
Use this postprocessor after the entire token structure has been resolved.
resolve(x: any, options?: ResolveChangeContextOptions): anydef resolve(self, x: Any, options: typing.Optional[ResolveChangeContextOptions] = None) -> Anypublic Object resolve(Object x, ResolveChangeContextOptions options)public object Resolve(object x, ResolveChangeContextOptions? options = null)func Resolve(X interface{}, Options ResolveChangeContextOptions) interface{}#
Resolve an inner object.