bukalapak/snowboard

How to get or show HOST value from element

sunil-bagde opened this issue · 0 comments

 {
  "element": "parseResult",
  "content": [
    {
      "element": "category",
      "meta": {
        "classes": {
          "element": "array",
          "content": [
            {
              "element": "string",
              "content": "api"
            }
          ]
        },
        "title": {
          "element": "string",
          "content": "API Example"
        }
      },
      "attributes": {
        "metadata": {
          "element": "array",
          "content": [
            {
              "element": "member",
              "meta": {
                "classes": {
                  "element": "array",
                  "content": [
                    {
                      "element": "string",
                      "content": "user"
                    }
                  ]
                }
              },
              "content": {
                "key": {
                  "element": "string",
                  "content": "FORMAT"
                },
                "value": {
                  "element": "string",
                  "content": "1A"
                }
              }
            },
            {
              "element": "member",
              "meta": {
                "classes": {
                  "element": "array",
                  "content": [
                    {
                      "element": "string",
                      "content": "user"
                    }
                  ]
                }
              },
              "content": {
                "key": {
                  "element": "string",
                  "content": "HOST"
                },
                "value": {
                  "element": "string",
                  "content": "api.example.com"
                }
              }
            }
          ]
        }
      },
      "content": [
        {
          "element": "resource",
          "meta": {
            "title": {
              "element": "string",
              "content": "Movies | Films Collection"
            }
          },
          "attributes": {
            "href": {
              "element": "string",
              "content": "/api/"
            }
          },
          "content": []
        }
      ]
    }
  ]
}

image