How to get specific value from JSON in Apache Pig?

How can I get the value “55” from this JSON object/array?

{
  "fields": [{
    "name": "col1",
    "type": 55,
    "description": "autogenerated from Pig Field Schema",
    "schema": null
  }],
  "version": 0,
  "sortKeys": [],
  "sortKeyOrders": []
}