---
source: kcl/src/simulation_tests.rs
description: Result of parsing non_string_key_of_object.kcl
---
{
  "Ok": {
    "body": [
      {
        "declaration": {
          "end": 19,
          "id": {
            "end": 3,
            "name": "obj",
            "start": 0,
            "type": "Identifier"
          },
          "init": {
            "end": 19,
            "properties": [
              {
                "end": 17,
                "key": {
                  "end": 11,
                  "name": "key",
                  "start": 8,
                  "type": "Identifier"
                },
                "start": 8,
                "type": "ObjectProperty",
                "value": {
                  "end": 17,
                  "raw": "123",
                  "start": 14,
                  "type": "Literal",
                  "type": "Literal",
                  "value": {
                    "value": 123.0,
                    "suffix": "None"
                  }
                }
              }
            ],
            "start": 6,
            "type": "ObjectExpression",
            "type": "ObjectExpression"
          },
          "start": 0,
          "type": "VariableDeclarator"
        },
        "end": 19,
        "kind": "const",
        "start": 0,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      },
      {
        "declaration": {
          "end": 32,
          "id": {
            "end": 23,
            "name": "num",
            "start": 20,
            "type": "Identifier"
          },
          "init": {
            "computed": false,
            "end": 32,
            "object": {
              "end": 29,
              "name": "obj",
              "start": 26,
              "type": "Identifier",
              "type": "Identifier"
            },
            "property": {
              "end": 31,
              "raw": "3",
              "start": 30,
              "type": "Literal",
              "type": "Literal",
              "value": {
                "value": 3.0,
                "suffix": "None"
              }
            },
            "start": 26,
            "type": "MemberExpression",
            "type": "MemberExpression"
          },
          "start": 20,
          "type": "VariableDeclarator"
        },
        "end": 32,
        "kind": "const",
        "start": 20,
        "type": "VariableDeclaration",
        "type": "VariableDeclaration"
      }
    ],
    "end": 33,
    "start": 0
  }
}
