add function: pjson
add function: color