Immutable playground

by wittnl

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/immutable/3.8.1/immutable.js"></script>
<pre id="out"></pre>

JavaScript

var out = document.getElementById('out');

var json = {
  "paths": {
    "__parabolaOpenPlanDetailsComparisonForGivenPlans": {
      "description": "open a plan details comparison view\nV9 only\nIt must be set up in a similar way as the __parabolaOpenPlanDetailsPageForCurrentModule() call and must first have getRecommendation things done\n",
      "id": 0,
      "parameters": [
        {
          "name": "configPlanIds",
          "description": "an array of up to three plan ids as a parameter",
          "type": "array",
          "example": [
            "g.MedPlan1.RecPlan.configPlanId",
            "g.MedPlan2.RecPlan.configPlanId",
            "g.MedPlan4.RecPlan.configPlanId"
          ]
        }
      ]
    },
    "__parabolaShowSummaryInNavigationPaneForCurrentModule": {
      "description": "update benefit selections in menu\nmust be called after setting user data\n",
      "id": 1,
      "parameters": null
    },
    "__parabolaShowSummaryInNavigationPaneForGivenModule": {
      "description": "update benefit selections in menu for non-current module\nused since Launchpad 161\nmust be called after setting user data\n",
      "id": 2,
      "parameters": [
        {
          "name": "module_id",
          "description": "the module for which to show a summary",
          "type": "string",
          "example": "dental"
        }
      ]
    },
    "__parabolaCompleteCurrentModule": {
      "description": "complete current module\nThis does not cause any navigation to occur,\nit updates the internally-recorded state of the experience.\nIf you want to navigate the user to another module router or activity,\nyou must follow this method call with one of the sequencing/navigation calls below.\n",
      "id": 3,
      "parameters": null
    },
    "__parabolaOpenMenu": {
      "description": "open menu",
      "id": 4,
      "parameters": null
    },
    "__parabolaShowSchismConversation": {
      "description": "it will switch the conversation within...