# Serializing Perspective property objects

**URL:** <https://forum.inductiveautomation.com/t/serializing-perspective-property-objects/29704>\
**Category:** Ignition Early Access\
**Created:** [November 5, 2019, 10:44pm UTC](https://forum.inductiveautomation.com/t/serializing-perspective-property-objects/29704 "2019-11-05T22:44:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmusson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bmusson/32/87530_2.png) [@bmusson](https://forum.inductiveautomation.com/u/bmusson)\
**Post date:** [November 5, 2019, 10:44pm UTC](https://forum.inductiveautomation.com/t/serializing-perspective-property-objects/29704/1 "2019-11-05T22:44:37Z")

</div>

I’m try to serialize some Perspective property objects so that I can save/load them from a database. I found [this post](http://forum.inductiveautomation.com/t/custom-property-object-to-json/26371) which looks like a good solution for relatively flat objects, but mine has a bit more structure and I’m having a hard time wrapping my head around a good general way to extract the Value properties.

Here’s an example of the data stored in a custom property that I’m trying to serialize:

```auto
[
  {
    "axes": [
      {
        "interpolation": "curveBasis",
        "min": 0,
        "max": 100,
        "name": "Default Axis",
        "alignment": "left",
        "type": "line",
        "axisID": 0
      },
      {
        "interpolation": "curveLinear",
        "min": 0,
        "max": 1,
        "name": "On/Off Axis",
        "alignment": "left",
        "type": "area",
        "axisID": 1
      }
    ],
    "name": "Primary Plot",
    "plotID": 0
  },
  {
    "axes": [
      {
        "interpolation": "curveBasis",
        "min": 0,
        "max": 100,
        "name": "Default Axis",
        "alignment": "left",
        "type": "line",
        "axisID": 0
      },
      {
        "interpolation": "curveBasis",
        "min": 0,
        "max": 1,
        "name": "On/Off Axis",
        "alignment": "left",
        "type": "area",
        "axisID": 1
      }
    ],
    "name": "Secondary Plot",
    "plotID": 1
  }
]

```
