An implementation of JSON Reference written in PHP