Package rekall :: Package ui :: Module json_renderer
[frames] | no frames]

Module json_renderer

source code

This module implements a JSON render.

A renderer is used by plugins to produce formatted output.

This code is tested in plugins/tools/render_test.py

Classes
  DecodingError
Raised if there is a decoding error.
  EncodingError
Raised if we can not encode the object properly.
  RobustEncoder
  JsonObjectRenderer
An ObjectRenderer for Json encoding.
  StateBasedObjectRenderer
An object renderer which serializes an object to a dict.
  StringRenderer
  BaseObjectRenderer
  JSTreeNodeRenderer
  JsonEncoder
  JsonDecoder
A Decoder for JSON encoded data.
  JsonRenderer
Render the output as a json object.
Functions
 
CacheableState(func)
A decorator which caches objects in the renderer's LRU.
source code
Variables
  __package__ = 'rekall.ui'
Function Details

CacheableState(func)

source code 

A decorator which caches objects in the renderer's LRU.

This applies to StateBasedObjectRenderer state dicts, which must have a unique id member.