EXTRA_TARGET = "target"
EXTRA_PARAMS = "params"
EXTRA_TYPES = "types"
EXTRA_WAY = "way"
EXTRA_CONVERTER = "converter"
EXTRA_ASYNC = "async"

EXTRA_WAY_METHOD = 0
EXTRA_WAY_CONSTRUCTOR = 1
EXTRA_WAY_READ_FIELD = 2
EXTRA_WAY_WRITE_FIELD = 3

EXTRA_CONVERTER_STRING = 0
EXTRA_CONVERTER_JSON = 1
EXTRA_CONVERTER_OBJID = 2

TYPE_INT = "int"
TYPE_LONG = "long"
TYPE_SHORT = "short"
TYPE_CHAR = "char"
TYPE_BOOLEAN = "boolean"
TYPE_FLOAT = "float"
TYPE_DOUBLE = "double"
TYPE_BYTE = "byte"
TYPE_STRING = "string"
TYPE_ARRAY = '['
TYPE_OBJECT = "object"

CODE_SUCCESS = 0
CODE_ERROR_PARAMS = 1
CODE_ERROR_EXECUTE = 2
CODE_ERROR_INTERNAL = 3

PREFIX_OBJECT_ID = '@'