return json code defined