just validation, json core type it's intentionally very minimal (see postgres hackers mailing list archives for more details)
anyway as a possible workaround just see andrew dustan's post:
http://people.planetpostgresql.org/andrew/index.php?/archive...