title: Postgresql, parse JSON
body: <p>I need to parse JSON objects in PL/PgSQL function and transform them in arrays, or rowsets, or whatever iterable. Is there some sort of function or plugin to do this?</p>
  
  <p>Google search is clogged with JSON serialization coming in Postgresql 9.2.</p>