{
  "id": "task_libraries:json/python",
  "path": "/exapedia/python-json-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "Python JSON libraries",
  "answer": [
    {
      "t": "text",
      "text": "Python JSON libraries convert JSON text into Python objects and write Python objects back out as JSON. A parser either reads the whole document into memory at once or yields one item at a time from a stream. These libraries let APIs, data pipelines, and AI agents exchange structured data with other services."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "Python JSON libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#jiter",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#orjson",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F146"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#jsonfive",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F157"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F161"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#simplejson",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F178"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ijson",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F191"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F195"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#msgspec",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ujson",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F227"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#jsonpickle",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ],
              [
                {
                  "t": "text",
                  "text": "Not on GitHub"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F244"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "pypi"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#jiter",
          "label": [
            {
              "t": "text",
              "text": "Jiter"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F126"
        },
        {
          "t": "text",
          "text": ", a count that includes installs as a Pydantic dependency."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Native JSON encoding",
            "Lazy item parsing",
            "Typed schema decoding"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#jiter",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F135"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F136"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#orjson",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F142"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F150"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F151"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#jsonfive",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F157"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F166"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F167"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#simplejson",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F174"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F183"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F184"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ijson",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F191"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F200"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F201"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#msgspec",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F208"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F215"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F216"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ujson",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F223"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F232"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F233"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#jsonpickle",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F240"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F249"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F250"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "jiter",
          "name": [
            {
              "t": "fact",
              "fact": "F125"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/pydantic/jiter"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/jiter"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/pydantic/jiter/contents/crates/jiter-python/README.md?ref=v0.19.0"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F132"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/pydantic/jiter/contents/crates/jiter-python/README.md?ref=v0.19.0",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F140"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/openai/openai-python",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F140"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _accumulate_chunk(self, chunk: ChatCompletionChunk) -> ParsedChatCompletionSnapshot:\n    completion_snapshot = self.__current_completion_snapshot\n\n    if completion_snapshot is None:\n        return _convert_initial_chunk_into_snapshot(chunk)\n\n    for choice in chunk.choices:\n        try:\n            choice_snapshot = completion_snapshot.choices[choice.index]\n            previous_tool_calls = choice_snapshot.message.tool_calls or []\n\n            choice_snapshot.message = cast(\n                ParsedChatCompletionMessageSnapshot,\n                construct_type(\n                    type_=ParsedChatCompletionMessageSnapshot,\n                    value=accumulate_delta(\n                        cast(\n                            \"dict[object, object]\",\n                            model_dump(\n                                choice_snapshot.message,\n                                # we don't want to serialise / deserialise our custom properties\n                                # as they won't appear in the delta and we don't want to have to\n                                # continuously reparse the content\n                                exclude={\n                                    \"parsed\": True,\n                                    \"tool_calls\": {\n                                        idx: {\"function\": {\"parsed_arguments\": True}}\n                                        for idx, _ in enumerate(choice_snapshot.message.tool_calls or [])\n                                    },\n                                },\n                            ),\n                        ),\n                        cast(\"dict[object, object]\", choice.delta.to_dict()),\n                    ),\n                ),\n            )\n\n            # ensure tools that have already been parsed are added back into the newly\n            # constructed message snapshot\n            for tool_index, prev_tool in enumerate(previous_tool_calls):\n                new_tool = (choice_snapshot.message.tool_calls or [])[tool_index]\n\n                if prev_tool.type == \"function\":\n                    assert new_tool.type == \"function\"\n                    new_tool.function.parsed_arguments = prev_tool.function.parsed_arguments\n                elif TYPE_CHECKING:\n                    assert_never(prev_tool)\n        except IndexError:\n            choice_snapshot = cast(\n                ParsedChoiceSnapshot,\n                construct_type(\n                    type_=ParsedChoiceSnapshot,\n                    value={\n                        **choice.model_dump(exclude_unset=True, exclude={\"delta\"}),\n                        \"message\": accumulate_delta({}, cast(\"dict[object, object]\", choice.delta.to_dict())),\n                    },\n                ),\n            )\n            completion_snapshot.choices.append(choice_snapshot)\n\n        if choice.finish_reason:\n            choice_snapshot.finish_reason = choice.finish_reason\n\n            if has_parseable_input(response_format=self._response_format, input_tools=self._input_tools):\n                if choice.finish_reason == \"length\":\n                    # at the time of writing, `.usage` will always be `None` but\n                    # we include it here in case that is changed in the future\n                    raise LengthFinishReasonError(completion=completion_snapshot)\n\n                if choice.finish_reason == \"content_filter\":\n                    raise ContentFilterFinishReasonError(completion=completion_snapshot)\n\n        if (\n            choice_snapshot.message.content\n            and not choice_snapshot.message.refusal\n            and is_given(self._rich_response_format)\n            # partial parsing fails on white-space\n            and choice_snapshot.message.content.lstrip()\n        ):\n            choice_snapshot.message.parsed = from_json(\n                bytes(choice_snapshot.message.content, \"utf-8\"),\n                partial_mode=True,\n            )\n\n        for tool_call_chunk in choice.delta.tool_calls or []:\n            tool_call_snapshot = (choice_snapshot.message.tool_calls or [])[tool_call_chunk.index]\n\n            if tool_call_snapshot.type == \"function\":\n                input_tool = get_input_tool_by_name(\n                    input_tools=self._input_tools, name=tool_call_snapshot.function.name\n                )\n\n                if (\n                    input_tool\n                    and input_tool.get(\"function\", {}).get(\"strict\")\n                    and tool_call_snapshot.function.arguments\n                ):\n                    tool_call_snapshot.function.parsed_arguments = from_json(\n                        bytes(tool_call_snapshot.function.arguments, \"utf-8\"),\n                        partial_mode=True,\n                    )\n            elif TYPE_CHECKING:\n                assert_never(tool_call_snapshot)\n\n        if choice.logprobs is not None:\n            if choice_snapshot.logprobs is None:\n                choice_snapshot.logprobs = build(\n                    ChoiceLogprobs,\n                    content=choice.logprobs.content,\n                    refusal=choice.logprobs.refusal,\n                )\n            else:\n                if choice.logprobs.content:\n                    if choice_snapshot.logprobs.content is None:\n                        choice_snapshot.logprobs.content = []\n\n                    choice_snapshot.logprobs.content.extend(choice.logprobs.content)\n\n                if choice.logprobs.refusal:\n                    if choice_snapshot.logprobs.refusal is None:\n                        choice_snapshot.logprobs.refusal = []\n\n                    choice_snapshot.logprobs.refusal.extend(choice.logprobs.refusal)\n\n    completion_snapshot.usage = chunk.usage\n    completion_snapshot.system_fingerprint = chunk.system_fingerprint\n    if chunk.moderation is not None:\n        completion_snapshot.moderation = cast(\n            Moderation, construct_type(type_=Moderation, value=chunk.moderation.to_dict())\n        )\n\n    return completion_snapshot",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/openai/openai-python/blob/0d50c9daece1a4a0f4920f64b5ff90846b4e2050/src/openai/lib/streaming/chat/_completions.py#L362-L493",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F139"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=jiter%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import jiter\n\ndata = jiter.from_json(b'{\"name\":\"John\",\"age\":30}')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/pydantic/jiter/contents/crates/jiter-python/README.md?ref=v0.19.0",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "orjson",
          "name": [
            {
              "t": "fact",
              "fact": "F142"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ijl/orjson"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/orjson"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/ijl/orjson/readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F6"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F145"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/ijl/orjson/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F142"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F19"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F20"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F155"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/zauberzeug/nicegui",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def dumps(obj: Any,\n          sort_keys: bool = False,\n          separators: tuple[str, str] | None = None, *,\n          indent: bool = False) -> str:\n    \"\"\"Serializes a Python object to a JSON-encoded string.\n\n    By default, this function supports serializing NumPy arrays, which Python's json module does not.\n\n    Uses package ``orjson`` internally.\n    \"\"\"\n    # note that parameters `sort_keys` and `separators` are required by AsyncServer's\n    # internal calls, which match Python's default `json.dumps` API.\n    assert separators is None or separators == (',', ':'), \\\n        f'NiceGUI JSON serializer only supports Python\\'s default JSON separators \",\" and \":\", but got {separators} instead.'\n\n    opts = ORJSON_OPTS\n\n    # flag for sorting by object keys\n    if sort_keys:\n        opts |= orjson.OPT_SORT_KEYS\n\n    # flag for pretty-printing with indentation\n    if indent:\n        opts |= orjson.OPT_INDENT_2\n\n    return orjson.dumps(obj, option=opts, default=_orjson_converter).decode('utf-8')\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/zauberzeug/nicegui/blob/884eb1c38e58f976bce451d4e19cf898b78dfefa/nicegui/json/orjson_wrapper.py",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F154"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20orjson%20for%20web-response%20serialization%2C%20typed%20model%20payloads%2C%20custom%20object%20conversion%20and%20decimal-safe%20JSON%20processing&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F142"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import orjson\n\ndata = orjson.loads(b'{\"name\":\"Ada\"}')\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/ijl/orjson/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F147"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "jsonfive",
          "name": [
            {
              "t": "fact",
              "fact": "F157"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/dpranke/pyjson5"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/json5"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/dpranke/pyjson5/readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F164"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F160"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/dpranke/pyjson5/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F157"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyterlab/jupyterlab_server",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F172"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def load_config(path: str) -> Any:\n    \"\"\"Load either a json5 or a json config file.\n\n    Parameters\n    ----------\n    path : str\n        Path to the file to be loaded\n\n    Returns\n    -------\n    Dict[Any, Any]\n        Dictionary of json or json5 data\n    \"\"\"\n    with open(path, encoding=\"utf-8\") as fid:\n        if path.endswith(\".json5\"):\n            return json5.load(fid)\n        return json.load(fid)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyterlab/jupyterlab_server/blob/475cfc19e0e69444fc7e3b0e41655cbeb32a8756/jupyterlab_server/config.py#L95-L111",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F171"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=json5%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F157"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import json5\n\ndata = json5.loads(\"{name: 'Ada',}\")\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/dpranke/pyjson5/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F162"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "simplejson",
          "name": [
            {
              "t": "fact",
              "fact": "F174"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/simplejson/simplejson"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/simplejson"
            },
            {
              "label": "Docs",
              "href": "https://simplejson.readthedocs.io/en/latest/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F181"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F175"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F177"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F176"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://simplejson.readthedocs.io/en/latest/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F174"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/psf/requests",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F189"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def json(self, **kwargs: Any) -> Any:\n    r\"\"\"Decodes the JSON response body (if any) as a Python object.\n\n    This may return a dictionary, list, etc. depending on what is in the response.\n\n    :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n    :raises requests.exceptions.JSONDecodeError: If the response body does not\n        contain valid json.\n    \"\"\"\n\n    if not self.encoding and self.content and len(self.content) > 3:\n        # No encoding set. JSON RFC 4627 section 3 states we should expect\n        # UTF-8, -16 or -32. Detect which one to use; If the detection or\n        # decoding fails, fall back to `self.text` (using charset_normalizer to make\n        # a best guess).\n        encoding = guess_json_utf(self.content)\n        if encoding is not None:\n            try:\n                return complexjson.loads(self.content.decode(encoding), **kwargs)\n            except UnicodeDecodeError:\n                # Wrong UTF codec detected; usually because it's not UTF-8\n                # but some other 8-bit codec.  This is an RFC violation,\n                # and the server didn't bother to tell us what codec *was*\n                # used.\n                pass\n            except JSONDecodeError as e:\n                raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n\n    try:\n        return complexjson.loads(self.text, **kwargs)\n    except JSONDecodeError as e:\n        # Catch JSON-related errors and raise as requests.JSONDecodeError\n        # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n        raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/psf/requests/blob/3c7baaa05ab4aa49cc819ce3a819d260de19c157/src/requests/models.py#L1091-L1124",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F188"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=simplejson%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F174"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import simplejson\n\nencoded = simplejson.dumps({\"ready\": True})\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://simplejson.readthedocs.io/en/latest/",
                  "label": [
                    {
                      "t": "text",
                      "text": "index.html"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F179"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ijson",
          "name": [
            {
              "t": "fact",
              "fact": "F191"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ICRAR/ijson"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/ijson"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/ICRAR/ijson/readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F198"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F192"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F194"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F193"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/ICRAR/ijson/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F191"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/datahub-project/datahub",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F206"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def _iterate_file_streaming(self, fp: Any) -> Iterable[Any]:\n    # Count the number of elements in the file.\n    if self.config.count_all_before_starting:\n        count_start_time = datetime.datetime.now()\n        parse_stream = ijson.parse(fp, use_float=True)\n        total_elements = 0\n        for _row in ijson.items(parse_stream, \"item\", use_float=True):\n            total_elements += 1\n        count_end_time = datetime.datetime.now()\n        self.report.add_count_time(count_end_time - count_start_time)\n        self.report.current_file_num_elements = total_elements\n        fp.seek(0)\n\n    # Read the file.\n    self.report.current_file_elements_read = 0\n    parse_start_time = datetime.datetime.now()\n    parse_stream = ijson.parse(fp, use_float=True)\n    for row in ijson.items(parse_stream, \"item\", use_float=True):\n        parse_end_time = datetime.datetime.now()\n        self.report.add_parse_time(parse_end_time - parse_start_time)\n        self.report.current_file_elements_read += 1\n        yield row",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/datahub-project/datahub/blob/047c7e6a7095c7dfbe4513b769837df1144cbeda/metadata-ingestion/src/datahub/ingestion/source/file.py#L294-L315",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F205"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=ijson%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F191"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from io import BytesIO\nimport ijson\n\nsource = BytesIO(b'[{\"name\":\"Ada\"}]')\nitem = next(ijson.items(source, \"item\"))\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/ICRAR/ijson/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F196"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "msgspec",
          "name": [
            {
              "t": "fact",
              "fact": "F208"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/msgspec/msgspec"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/msgspec"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/msgspec/msgspec/readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F39"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F209"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F32"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F210"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/msgspec/msgspec/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F208"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F45"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/litestar-org/litestar",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F221"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def decode_json(  # type: ignore[misc]\n    value: str | bytes,\n    target_type: type[T] | EmptyType = Empty,\n    type_decoders: TypeDecodersSequence | None = None,\n    strict: bool = True,\n) -> Any:\n    \"\"\"Decode a JSON string/bytes into an object.\n\n    Args:\n        value: Value to decode\n        target_type: An optional type to decode the data into\n        type_decoders: Optional sequence of type decoders\n        strict: Whether type coercion rules should be strict. Setting to False enables\n            a wider set of coercion rules from string to non-string types for all values\n\n    Returns:\n        An object\n\n    Raises:\n        SerializationException: If error decoding ``value``.\n    \"\"\"\n    try:\n        if target_type is Empty:\n            return _msgspec_json_decoder.decode(value)\n        return msgspec.json.decode(\n            value,\n            dec_hook=partial(\n                default_deserializer,\n                type_decoders=type_decoders,\n            ),\n            type=target_type,\n            strict=strict,\n        )\n    except msgspec.DecodeError as msgspec_error:\n        raise SerializationException(str(msgspec_error)) from msgspec_error",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/litestar-org/litestar/blob/16ef4933c5576944cbbf3f72676382c4a5685af7/litestar/serialization/msgspec_hooks.py#L188-L222",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F220"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=Python%20projects%20using%20msgspec%20for%20web-response%20serialization%2C%20typed%20model%20payloads%2C%20custom%20object%20conversion%20and%20decimal-safe%20JSON%20processing&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F208"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import msgspec\n\nclass User(msgspec.Struct):\n    name: str\n\nuser = msgspec.json.decode(b'{\"name\":\"Ada\"}', type=User)\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/msgspec/msgspec/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F213"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ujson",
          "name": [
            {
              "t": "fact",
              "fact": "F223"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ultrajson/ultrajson"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/ujson"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/ultrajson/ultrajson/readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F230"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F224"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F226"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F225"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/ultrajson/ultrajson/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F223"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/sanic-org/sanic",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F238"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def json(\n    body,\n    status=200,\n    headers=None,\n    content_type=\"application/json\",\n    dumps=json_dumps,\n    **kwargs\n):\n    \"\"\"\n    Returns response object with body in json format.\n\n    :param body: Response data to be serialized.\n    :param status: Response code.\n    :param headers: Custom Headers.\n    :param kwargs: Remaining arguments that are passed to the json encoder.\n    \"\"\"\n    return HTTPResponse(\n        dumps(body, **kwargs),\n        headers=headers,\n        status=status,\n        content_type=content_type,\n    )",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/sanic-org/sanic/blob/bc7d0f0da57e6b0d6c7d57ca3bb9d0dda66a7199/sanic/response.py#L203-L224",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F237"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=ujson%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F223"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "import ujson\n\nencoded = ujson.dumps([{\"key\": \"value\"}, 81, True])\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/ultrajson/ultrajson/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F228"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "jsonpickle",
          "name": [
            {
              "t": "fact",
              "fact": "F240"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jsonpickle/jsonpickle"
            },
            {
              "label": "pypi",
              "href": "https://pypi.org/project/jsonpickle"
            },
            {
              "label": "Docs",
              "href": "https://api.github.com/repos/jsonpickle/jsonpickle/readme"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F247"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F241"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F243"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F242"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/jsonpickle/jsonpickle/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/koalalorenzo/python-digitalocean",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F255"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "python",
              "code": "def create(self, *args, **kwargs):\n    inbound = jsonpickle.encode(self.inbound_rules, unpicklable=False)\n    outbound = jsonpickle.encode(self.outbound_rules, unpicklable=False)\n    params = {'name': self.name,\n              'droplet_ids': self.droplet_ids,\n              'inbound_rules': jsonpickle.decode(inbound),\n              'outbound_rules': jsonpickle.decode(outbound),\n              'tags': self.tags}\n\n    data = self.get_data('firewalls/', type=POST, params=params)\n\n    if data:\n        self._set_firewall_attributes(data)\n\n    return self",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/koalalorenzo/python-digitalocean/blob/3d802463be6220ab044dc1e5d381c93e94365ac4/digitalocean/Firewall.py#L182-L196",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F254"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=jsonpickle%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F240"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "python",
              "code": "from dataclasses import dataclass\nimport jsonpickle\n\n@dataclass\nclass Example:\n    data: str\n\nencoded = jsonpickle.encode(Example(\"value1\"))\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://api.github.com/repos/jsonpickle/jsonpickle/readme",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.rst"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F245"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "Which Python JSON library should I use?",
      "a": [
        {
          "t": "link",
          "href": "#orjson",
          "label": [
            {
              "t": "text",
              "text": "orjson"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits applications that encode dataclasses, datetimes, and NumPy arrays to JSON bytes. "
        },
        {
          "t": "link",
          "href": "#msgspec",
          "label": [
            {
              "t": "text",
              "text": "msgspec"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits code that decodes JSON into declared types with validation. "
        },
        {
          "t": "link",
          "href": "#ijson",
          "label": [
            {
              "t": "text",
              "text": "ijson"
            }
          ]
        },
        {
          "t": "text",
          "text": " suits large files and streams that should be read one item at a time."
        }
      ]
    },
    {
      "q": "What is orjson?",
      "a": [
        {
          "t": "link",
          "href": "#orjson",
          "label": [
            {
              "t": "text",
              "text": "orjson"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a JSON library with native support for dataclasses, datetimes, and NumPy arrays. Its encoder returns bytes rather than a string."
        }
      ]
    },
    {
      "q": "What is Jiter?",
      "a": [
        {
          "t": "link",
          "href": "#jiter",
          "label": [
            {
              "t": "text",
              "text": "Jiter"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a JSON parser that turns bytes into Python objects, with modes for partial input. It parses only and has no JSON encoder."
        }
      ]
    },
    {
      "q": "Which Python JSON parser reads a stream one item at a time?",
      "a": [
        {
          "t": "link",
          "href": "#ijson",
          "label": [
            {
              "t": "text",
              "text": "ijson"
            }
          ]
        },
        {
          "t": "text",
          "text": " parses a JSON stream incrementally and yields events or items through standard Python iterators. The calling code decides how many of those items stay in memory."
        }
      ]
    },
    {
      "q": "What is UltraJSON?",
      "a": [
        {
          "t": "link",
          "href": "#ujson",
          "label": [
            {
              "t": "text",
              "text": "UltraJSON"
            }
          ]
        },
        {
          "t": "text",
          "text": " is a JSON encoder and decoder in maintenance-only mode. Its maintainers continue new Python support and critical fixes and encourage users to migrate to other libraries."
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, orjson",
      "display": "orjson",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, orjson",
      "display": "213.7M",
      "asOf": "2026-11-16"
    },
    "F3": {
      "label": "License, orjson",
      "display": "MPL-2.0 AND (Apache-2.0 OR MIT)",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, orjson",
      "display": "3.13.0, Oct 2026",
      "asOf": "2026-10-07"
    },
    "F5": {
      "label": "Package release date, orjson",
      "display": "Oct 2026",
      "asOf": "2026-10-07"
    },
    "F6": {
      "label": "Repository stars, orjson",
      "display": "8.3K",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Encodes JSON, orjson",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Decodes JSON, orjson",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Custom type encoders, orjson",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Output formats, orjson",
      "display": "JSON",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, orjson",
      "display": "pip install orjson numpy",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, orjson",
      "display": "Provides a JSON serialization library for Python.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, orjson",
      "display": "Serializes native scientific data",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, orjson",
      "display": "Enable the NumPy option to serialize supported array values.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, orjson",
      "display": "Handles structured Python values",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, orjson",
      "display": "Serialize dataclasses, datetimes, NumPy arrays, and UUID values.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, orjson",
      "display": "Integers have fixed bounds",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, orjson",
      "display": "Default integer serialization uses the documented native integer range.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "limitations lead, orjson",
      "display": "File I/O needs application code",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "limitations, orjson",
      "display": "Read or write files separately from the JSON codec.",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Quickstart, orjson",
      "display": "import orjson, datetime, numpy\ndata = {\n    \"type\": \"job\",\n    \"created_at\": datetime.datetime(1970, 1, 1),\n    \"status\": \"🆗\",\n    \"payload\": numpy.array([[1, 2], [3, 4]]),\n}\norjson.dumps(data, option=orjson.OPT_NAIVE_UTC | orjson.OPT_SERIALIZE_NUMPY)\n",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project function, orjson",
      "display": "def dumps(obj: Any,\n          sort_keys: bool = False,\n          separators: tuple[str, str] | None = None, *,\n          indent: bool = False) -> str:\n    \"\"\"Serializes a Python object to a JSON-encoded string.\n\n    By default, this function supports serializing NumPy arrays, which Python's json module does not.\n\n    Uses package ``orjson`` internally.\n    \"\"\"\n    # note that parameters `sort_keys` and `separators` are required by AsyncServer's\n    # internal calls, which match Python's default `json.dumps` API.\n    assert separators is None or separators == (',', ':'), \\\n        f'NiceGUI JSON serializer only supports Python\\'s default JSON separators \",\" and \":\", but got {separators} instead.'\n\n    opts = ORJSON_OPTS\n\n    # flag for sorting by object keys\n    if sort_keys:\n        opts |= orjson.OPT_SORT_KEYS\n\n    # flag for pretty-printing with indentation\n    if indent:\n        opts |= orjson.OPT_INDENT_2\n\n    return orjson.dumps(obj, option=opts, default=_orjson_converter).decode('utf-8')\n",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project function reference, orjson",
      "display": "orjson_wrapper.py · dumps()",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project repository, orjson",
      "display": "zauberzeug/nicegui",
      "asOf": "2026-11-17"
    },
    "F25": {
      "label": "Project stars, zauberzeug/nicegui",
      "display": "16.3K",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Project push date, zauberzeug/nicegui",
      "display": "Nov 2026",
      "asOf": "2026-11-14"
    },
    "F27": {
      "label": "Library name, msgspec",
      "display": "msgspec",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Monthly downloads, msgspec",
      "display": "38.2M",
      "asOf": "2026-11-16"
    },
    "F29": {
      "label": "License, msgspec",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Package release, msgspec",
      "display": "0.22.0, Sep 2026",
      "asOf": "2026-09-29"
    },
    "F31": {
      "label": "Package release date, msgspec",
      "display": "Sep 2026",
      "asOf": "2026-09-29"
    },
    "F32": {
      "label": "Repository stars, msgspec",
      "display": "4.2K",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Encodes JSON, msgspec",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Decodes JSON, msgspec",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Custom type encoders, msgspec",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "Validates schemas, msgspec",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "Output formats, msgspec",
      "display": "JSON",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "Install, msgspec",
      "display": "pip install msgspec",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "What it does, msgspec",
      "display": "Provides serialization and data validation with JSON support.",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths lead, msgspec",
      "display": "Validates typed decoded data",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "strengths, msgspec",
      "display": "Pass a schema type when decoding a message.",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "strengths lead, msgspec",
      "display": "Adapts custom application types",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "strengths, msgspec",
      "display": "Use encoding and decoding hooks for types outside native support.",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations lead, msgspec",
      "display": "Construction does not validate types",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "limitations, msgspec",
      "display": "Use a typed decoder when input field types must be checked.",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Quickstart, msgspec",
      "display": "import msgspec\nclass User(msgspec.Struct):\n    \"\"\"A new type describing a User\"\"\"\n    name: str\n    groups: set[str] = set()\n    email: str | None = None\nalice = User(\"alice\", groups={\"admin\", \"engineering\"})\nalice\nmsg = msgspec.json.encode(alice)\nmsg\nmsgspec.json.decode(msg, type=User)\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function, msgspec",
      "display": "@staticmethod\ndef _serialize_msgspec(value: Any) -> Any:\n    \"\"\"Serialize a msgspec.Struct to a JSON-compatible dict, stripping\n    private (`_`-prefixed) and explicitly excluded fields.\n\n    Uses `msgspec.to_builtins` which respects `omit_defaults=True`,\n    so only fields that differ from their declared defaults are included.\n    \"\"\"\n    raw = msgspec.to_builtins(value)\n    if not isinstance(raw, dict):\n        return raw\n\n    exclude: set[str] = cast(\n        set[str],\n        getattr(type(value), \"__pydantic_msgspec_exclude__\", set()),\n    )\n    for key in list(raw):\n        if key.startswith(\"_\") or key in exclude:\n            del raw[key]\n\n    return raw\n",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project function reference, msgspec",
      "display": "serial_utils.py · _serialize_msgspec()",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project repository, msgspec",
      "display": "vllm-project/vllm",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project stars, vllm-project/vllm",
      "display": "90.9K",
      "asOf": "2026-11-17"
    },
    "F51": {
      "label": "Project push date, vllm-project/vllm",
      "display": "Sep 2026",
      "asOf": "2026-09-03"
    },
    "F52": {
      "label": "Library name, python-rapidjson",
      "display": "python-rapidjson",
      "asOf": "2026-11-17"
    },
    "F53": {
      "label": "Monthly downloads, python-rapidjson",
      "display": "4.0M",
      "asOf": "2026-11-16"
    },
    "F54": {
      "label": "License, python-rapidjson",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Package release, python-rapidjson",
      "display": "1.26, Nov 2026",
      "asOf": "2026-11-01"
    },
    "F56": {
      "label": "Package release date, python-rapidjson",
      "display": "Nov 2026",
      "asOf": "2026-11-01"
    },
    "F57": {
      "label": "Repository stars, python-rapidjson",
      "display": "533",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Encodes JSON, python-rapidjson",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Decodes JSON, python-rapidjson",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Custom type encoders, python-rapidjson",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Validates schemas, python-rapidjson",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "Output formats, python-rapidjson",
      "display": "JSON",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "Install, python-rapidjson",
      "display": "pip install python-rapidjson",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "What it does, python-rapidjson",
      "display": "Wraps the RapidJSON library for Python.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, python-rapidjson",
      "display": "Preserves decimal fraction values",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, python-rapidjson",
      "display": "Use NM_DECIMAL to decode JSON fractions as Decimal values.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "strengths lead, python-rapidjson",
      "display": "Provides reusable schema validators",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "strengths, python-rapidjson",
      "display": "Validate JSON documents with a compiled Validator instance.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "limitations lead, python-rapidjson",
      "display": "Native mode can truncate integers",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "limitations, python-rapidjson",
      "display": "Keep the default number mode when large integers must stay exact.",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Quickstart, python-rapidjson",
      "display": "from pprint import pprint\nfrom rapidjson import dumps, loads\ndata = {'foo': 100, 'bar': 'baz'}\ndumps(data, sort_keys=True) # for doctest\npprint(loads('{\"bar\":\"baz\",\"foo\":100}'))\nint_number = 42\nfloat_number = 1.4142\nstring = \"√2 ≅ 1.4142\"\nfalse = False\ntrue = True\nnull = None\narray = [int_number, float_number, string, false, true, null]\nan_object = {'int': int_number, 'float': float_number,\n             'string': string,\n             'true': true, 'false': false,\n             'array': array }\npprint(loads(dumps({'object': an_object})))\nnames_t = ('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat')\nnames_l = list(names_t)\nnames_i = iter(names_l)\ndef names_g():\n    for name in names_t:\n        yield name\ndumps(names_t) == dumps(names_l) == dumps(names_i) == dumps(names_g())\nclef = \"\\N{MUSICAL SYMBOL G CLEF}\"\nbytes_utf8 = clef.encode('utf-8')\nbytearray = bytearray(bytes_utf8)\ndumps(clef) == dumps(bytes_utf8) == dumps(bytearray) == '\"\\\\uD834\\\\uDD1E\"'\nfrom io import StringIO\nfrom rapidjson import dump, load\nstream = StringIO()\ndump(data, stream)\nstream.seek(0)\nload(stream) == data\nfrom rapidjson import Decoder\nfrom rapidjson import PM_COMMENTS, PM_TRAILING_COMMAS\ndecoder = Decoder(parse_mode=PM_COMMENTS | PM_TRAILING_COMMAS)\ndecoder('''\n{\n    \"bar\": /* Block comment */ \"baz\",\n    \"foo\":100, // Trailing comma and comment\n}\n''')\n",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Library name, json",
      "display": "json",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Monthly downloads, json",
      "display": "Standard library",
      "asOf": "2026-11-16"
    },
    "F74": {
      "label": "License, json",
      "display": "PSF License Version 2",
      "asOf": "2026-11-17"
    },
    "F75": {
      "label": "Package release, json",
      "display": "With Python",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Undated package release, json",
      "display": "With Python",
      "asOf": "2026-11-17"
    },
    "F77": {
      "label": "Repository context, json",
      "display": "Part of Python",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Encodes JSON, json",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Decodes JSON, json",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Custom type encoders, json",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Output formats, json",
      "display": "JSON",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Install, json",
      "display": "python -m json",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "What it does, json",
      "display": "Encodes and decodes JSON as part of Python’s standard library.",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "strengths lead, json",
      "display": "Ships with Python",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "strengths, json",
      "display": "Use the bundled standard-library module without installing another package.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, json",
      "display": "Supports custom type encoders",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, json",
      "display": "Provide a default callback for values outside the built-in JSON types.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "limitations lead, json",
      "display": "Defaults allow non-standard numeric values",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "limitations, json",
      "display": "Set allow_nan=False when output must reject NaN and Infinity.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "Quickstart, json",
      "display": "import json\njson.dumps(['foo', {'bar': ('baz', None, 1.0, 2)}])\nprint(json.dumps(\"\\\"foo\\bar\"))\nprint(json.dumps('\\u1234'))\nprint(json.dumps('\\\\'))\nprint(json.dumps({\"c\": 0, \"b\": 0, \"a\": 0}, sort_keys=True))\nfrom io import StringIO\nio = StringIO()\njson.dump(['streaming API'], io)\nio.getvalue()\nimport json\njson.dumps([1, 2, 3, {'4': 5, '6': 7}], separators=(',', ':'))\nimport json\nprint(json.dumps({'6': 7, '4': 5}, sort_keys=True, indent=4))\nimport json\ndef custom_json(obj):\n    if isinstance(obj, complex):\n        return {'__complex__': True, 'real': obj.real, 'imag': obj.imag}\n    raise TypeError(f'Cannot serialize object of {type(obj)}')\njson.dumps(1 + 2j, default=custom_json)\nimport json\njson.loads('[\"foo\", {\"bar\":[\"baz\", null, 1.0, 2]}]')\njson.loads('\"\\\\\"foo\\\\bar\"')\nfrom io import StringIO\nio = StringIO('[\"streaming API\"]')\njson.load(io)\nimport json\ndef as_complex(dct):\n    if '__complex__' in dct:\n        return complex(dct['real'], dct['imag'])\n    return dct\njson.loads('{\"__complex__\": true, \"real\": 1, \"imag\": 2}',\n    object_hook=as_complex)\nimport decimal\njson.loads('1.1', parse_float=decimal.Decimal)\nimport json\nclass ComplexEncoder(json.JSONEncoder):\n    def default(self, obj):\n        if isinstance(obj, complex):\n            return [obj.real, obj.imag]\n        # Let the base class default method raise the TypeError\n        return super().default(obj)\njson.dumps(2 + 1j, cls=ComplexEncoder)\nComplexEncoder().encode(2 + 1j)\nlist(ComplexEncoder().iterencode(2 + 1j))\n",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "Project function, json",
      "display": "def dumps(self, obj: t.Any, **kwargs: t.Any) -> str:\n    \"\"\"Serialize data as JSON to a string.\n\n    Keyword arguments are passed to :func:`json.dumps`. Sets some\n    parameter defaults from the :attr:`default`,\n    :attr:`ensure_ascii`, and :attr:`sort_keys` attributes.\n\n    :param obj: The data to serialize.\n    :param kwargs: Passed to :func:`json.dumps`.\n    \"\"\"\n    kwargs.setdefault(\"default\", self.default)\n    kwargs.setdefault(\"ensure_ascii\", self.ensure_ascii)\n    kwargs.setdefault(\"sort_keys\", self.sort_keys)\n    return json.dumps(obj, **kwargs)\n",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "Project function reference, json",
      "display": "provider.py · dumps()",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "Project repository, json",
      "display": "pallets/flask",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Project stars, pallets/flask",
      "display": "75.2K",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Project push date, pallets/flask",
      "display": "Oct 2026",
      "asOf": "2026-10-30"
    },
    "F96": {
      "label": "Developer need",
      "display": "A bundled JSON implementation",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Why choose json",
      "display": "the standard-library module without an extra package install",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "Developer need in introduction",
      "display": "a bundled JSON implementation",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "When to consider msgspec",
      "display": "declared input types must be checked during decoding",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Developer need",
      "display": "NumPy-heavy JSON payloads",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Why choose orjson",
      "display": "native array serialization behind an explicit option",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need in introduction",
      "display": "NumPy-heavy JSON payloads",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Developer need",
      "display": "Typed JSON input validation",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Why choose msgspec",
      "display": "declared type schemas checked during decoding",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "Developer need in introduction",
      "display": "typed JSON input validation",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "Decimal and JSON Schema workflows",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose python-rapidjson",
      "display": "a decimal-aware numeric decoding mode",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "decimal and JSON Schema workflows",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "When to consider orjson",
      "display": "native array-to-JSON serialization is the main requirement",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Page introduction",
      "display": "Python json libraries let developers read or write JSON data.",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "FAQ: Which Python JSON library should I choose?",
      "display": "json is included in Python’s standard library.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: Which Python JSON library should I choose?",
      "display": "orjson supports NumPy array serialization with its explicit option.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: Which Python JSON library should I choose?",
      "display": "msgspec validates decoded messages against declared type schemas.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which Python JSON library should I choose?",
      "display": "python-rapidjson can decode decimal fractions as Decimal values.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Do I need to install the standard json module?",
      "display": "json belongs to the standard library distributed with Python.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Does valid JSON also mean the data matches an application schema?",
      "display": "msgspec accepts a declared type schema for typed decoding.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Does valid JSON also mean the data matches an application schema?",
      "display": "python-rapidjson Validator checks a document against a supplied JSON Schema.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Does creating a msgspec Struct validate its field values?",
      "display": "Ordinary Struct construction does not check field annotations; use typed decoding when validation is required.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: How can JSON fractions remain Decimal values?",
      "display": "python-rapidjson NM_DECIMAL returns Decimal instances instead of binary floats.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Can native number mode change a large integer?",
      "display": "python-rapidjson NM_NATIVE converts integers outside native limits to double, which can truncate precision.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Does standard json always emit strictly compliant numeric values?",
      "display": "The default allows NaN and Infinity; use allow_nan=False to reject them.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Does orjson read and write files directly?",
      "display": "File I/O is outside orjson; read or write the encoded data in application code.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Can custom application objects be encoded?",
      "display": "json supports a default callback for otherwise unsupported objects.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Can custom application objects be encoded?",
      "display": "msgspec provides encoding and decoding hooks for custom types.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "Library name, jiter",
      "display": "Jiter",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Monthly downloads, jiter",
      "display": "433.6M",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "License, jiter",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Package release, jiter",
      "display": "0.19.0",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Package release date, jiter",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Install, jiter",
      "display": "python -m pip install jiter==0.19.0",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Quickstart, jiter",
      "display": "import jiter\n\ndata = jiter.from_json(b'{\"name\":\"John\",\"age\":30}')\n",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Official description, jiter",
      "display": "Parses JSON iteratively.",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "Quickstart source file, jiter",
      "display": "crates/jiter-python/README.md",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Native JSON encoding, jiter",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Lazy item parsing, jiter",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Typed schema decoding, jiter",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Interface and best-fit task, jiter",
      "display": "Standalone bytes-to-Python parser with partial-input modes and string-cache controls; no native JSON encoder. Shared parser lineage with Pydantic is explicit, and overlapping dependency counts are not independent adoption.",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Project function, jiter",
      "display": "def _accumulate_chunk(self, chunk: ChatCompletionChunk) -> ParsedChatCompletionSnapshot:\n    completion_snapshot = self.__current_completion_snapshot\n\n    if completion_snapshot is None:\n        return _convert_initial_chunk_into_snapshot(chunk)\n\n    for choice in chunk.choices:\n        try:\n            choice_snapshot = completion_snapshot.choices[choice.index]\n            previous_tool_calls = choice_snapshot.message.tool_calls or []\n\n            choice_snapshot.message = cast(\n                ParsedChatCompletionMessageSnapshot,\n                construct_type(\n                    type_=ParsedChatCompletionMessageSnapshot,\n                    value=accumulate_delta(\n                        cast(\n                            \"dict[object, object]\",\n                            model_dump(\n                                choice_snapshot.message,\n                                # we don't want to serialise / deserialise our custom properties\n                                # as they won't appear in the delta and we don't want to have to\n                                # continuously reparse the content\n                                exclude={\n                                    \"parsed\": True,\n                                    \"tool_calls\": {\n                                        idx: {\"function\": {\"parsed_arguments\": True}}\n                                        for idx, _ in enumerate(choice_snapshot.message.tool_calls or [])\n                                    },\n                                },\n                            ),\n                        ),\n                        cast(\"dict[object, object]\", choice.delta.to_dict()),\n                    ),\n                ),\n            )\n\n            # ensure tools that have already been parsed are added back into the newly\n            # constructed message snapshot\n            for tool_index, prev_tool in enumerate(previous_tool_calls):\n                new_tool = (choice_snapshot.message.tool_calls or [])[tool_index]\n\n                if prev_tool.type == \"function\":\n                    assert new_tool.type == \"function\"\n                    new_tool.function.parsed_arguments = prev_tool.function.parsed_arguments\n                elif TYPE_CHECKING:\n                    assert_never(prev_tool)\n        except IndexError:\n            choice_snapshot = cast(\n                ParsedChoiceSnapshot,\n                construct_type(\n                    type_=ParsedChoiceSnapshot,\n                    value={\n                        **choice.model_dump(exclude_unset=True, exclude={\"delta\"}),\n                        \"message\": accumulate_delta({}, cast(\"dict[object, object]\", choice.delta.to_dict())),\n                    },\n                ),\n            )\n            completion_snapshot.choices.append(choice_snapshot)\n\n        if choice.finish_reason:\n            choice_snapshot.finish_reason = choice.finish_reason\n\n            if has_parseable_input(response_format=self._response_format, input_tools=self._input_tools):\n                if choice.finish_reason == \"length\":\n                    # at the time of writing, `.usage` will always be `None` but\n                    # we include it here in case that is changed in the future\n                    raise LengthFinishReasonError(completion=completion_snapshot)\n\n                if choice.finish_reason == \"content_filter\":\n                    raise ContentFilterFinishReasonError(completion=completion_snapshot)\n\n        if (\n            choice_snapshot.message.content\n            and not choice_snapshot.message.refusal\n            and is_given(self._rich_response_format)\n            # partial parsing fails on white-space\n            and choice_snapshot.message.content.lstrip()\n        ):\n            choice_snapshot.message.parsed = from_json(\n                bytes(choice_snapshot.message.content, \"utf-8\"),\n                partial_mode=True,\n            )\n\n        for tool_call_chunk in choice.delta.tool_calls or []:\n            tool_call_snapshot = (choice_snapshot.message.tool_calls or [])[tool_call_chunk.index]\n\n            if tool_call_snapshot.type == \"function\":\n                input_tool = get_input_tool_by_name(\n                    input_tools=self._input_tools, name=tool_call_snapshot.function.name\n                )\n\n                if (\n                    input_tool\n                    and input_tool.get(\"function\", {}).get(\"strict\")\n                    and tool_call_snapshot.function.arguments\n                ):\n                    tool_call_snapshot.function.parsed_arguments = from_json(\n                        bytes(tool_call_snapshot.function.arguments, \"utf-8\"),\n                        partial_mode=True,\n                    )\n            elif TYPE_CHECKING:\n                assert_never(tool_call_snapshot)\n\n        if choice.logprobs is not None:\n            if choice_snapshot.logprobs is None:\n                choice_snapshot.logprobs = build(\n                    ChoiceLogprobs,\n                    content=choice.logprobs.content,\n                    refusal=choice.logprobs.refusal,\n                )\n            else:\n                if choice.logprobs.content:\n                    if choice_snapshot.logprobs.content is None:\n                        choice_snapshot.logprobs.content = []\n\n                    choice_snapshot.logprobs.content.extend(choice.logprobs.content)\n\n                if choice.logprobs.refusal:\n                    if choice_snapshot.logprobs.refusal is None:\n                        choice_snapshot.logprobs.refusal = []\n\n                    choice_snapshot.logprobs.refusal.extend(choice.logprobs.refusal)\n\n    completion_snapshot.usage = chunk.usage\n    completion_snapshot.system_fingerprint = chunk.system_fingerprint\n    if chunk.moderation is not None:\n        completion_snapshot.moderation = cast(\n            Moderation, construct_type(type_=Moderation, value=chunk.moderation.to_dict())\n        )\n\n    return completion_snapshot",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Project source file, jiter",
      "display": "src/openai/lib/streaming/chat/_completions.py",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Project full_name, jiter",
      "display": "openai/openai-python",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Project stargazers_count, jiter",
      "display": "32.2K",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "Library name, orjson",
      "display": "orjson",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Monthly downloads, orjson",
      "display": "225.6M",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "License, orjson",
      "display": "MPL-2.0 AND (Apache-2.0 OR MIT)",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Package release, orjson",
      "display": "3.13.0",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Package release date, orjson",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Install, orjson",
      "display": "python -m pip install orjson==3.13.0",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "Quickstart, orjson",
      "display": "import orjson\n\ndata = orjson.loads(b'{\"name\":\"Ada\"}')\n",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Native JSON encoding, orjson",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Lazy item parsing, orjson",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Typed schema decoding, orjson",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Interface and best-fit task, orjson",
      "display": "JSON bytes encoder and eager decoder with documented native dataclass/datetime/NumPy options; bytes output and strict supported-input behavior matter to integration. No unsourced speed ranking.",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Project function, orjson",
      "display": "def dumps(obj: Any,\n          sort_keys: bool = False,\n          separators: tuple[str, str] | None = None, *,\n          indent: bool = False) -> str:\n    \"\"\"Serializes a Python object to a JSON-encoded string.\n\n    By default, this function supports serializing NumPy arrays, which Python's json module does not.\n\n    Uses package ``orjson`` internally.\n    \"\"\"\n    # note that parameters `sort_keys` and `separators` are required by AsyncServer's\n    # internal calls, which match Python's default `json.dumps` API.\n    assert separators is None or separators == (',', ':'), \\\n        f'NiceGUI JSON serializer only supports Python\\'s default JSON separators \",\" and \":\", but got {separators} instead.'\n\n    opts = ORJSON_OPTS\n\n    # flag for sorting by object keys\n    if sort_keys:\n        opts |= orjson.OPT_SORT_KEYS\n\n    # flag for pretty-printing with indentation\n    if indent:\n        opts |= orjson.OPT_INDENT_2\n\n    return orjson.dumps(obj, option=opts, default=_orjson_converter).decode('utf-8')\n",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Project source file, orjson",
      "display": "nicegui/json/orjson_wrapper.py",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Project full_name, orjson",
      "display": "zauberzeug/nicegui",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Project stargazers_count, orjson",
      "display": "16.3K",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "Library name, json5",
      "display": "json5",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Monthly downloads, json5",
      "display": "51.5M",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "License, json5",
      "display": "Apache-2.0",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Package release, json5",
      "display": "0.17.3",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Package release date, json5",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Install, json5",
      "display": "python -m pip install json5==0.17.3",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "Quickstart, json5",
      "display": "import json5\n\ndata = json5.loads(\"{name: 'Ada',}\")\n",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Official description, json5",
      "display": "Reads and writes the JSON5 data format.",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Quickstart source file, json5",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Native JSON encoding, json5",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Lazy item parsing, json5",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Typed schema decoding, json5",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Interface and best-fit task, json5",
      "display": "Loads and writes JSON5 configuration syntax, including comments, unquoted keys, and trailing commas. JSON5 output is not automatically strict interoperable JSON.",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Project function, json5",
      "display": "def load_config(path: str) -> Any:\n    \"\"\"Load either a json5 or a json config file.\n\n    Parameters\n    ----------\n    path : str\n        Path to the file to be loaded\n\n    Returns\n    -------\n    Dict[Any, Any]\n        Dictionary of json or json5 data\n    \"\"\"\n    with open(path, encoding=\"utf-8\") as fid:\n        if path.endswith(\".json5\"):\n            return json5.load(fid)\n        return json.load(fid)",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Project source file, json5",
      "display": "jupyterlab_server/config.py",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "Project full_name, json5",
      "display": "jupyterlab/jupyterlab_server",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Project stargazers_count, json5",
      "display": "154",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Library name, simplejson",
      "display": "simplejson",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Monthly downloads, simplejson",
      "display": "50.9M",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "License, simplejson",
      "display": "MIT OR AFL-2.1",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Package release, simplejson",
      "display": "4.3.0",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Package release date, simplejson",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Install, simplejson",
      "display": "python -m pip install simplejson==4.3.0",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "Quickstart, simplejson",
      "display": "import simplejson\n\nencoded = simplejson.dumps({\"ready\": True})\n",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Official description, simplejson",
      "display": "Encodes and decodes JSON with an extensible API.",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Quickstart source file, simplejson",
      "display": "index.html",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Native JSON encoding, simplejson",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Lazy item parsing, simplejson",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Typed schema decoding, simplejson",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Interface and best-fit task, simplejson",
      "display": "Extensible JSON text codec with explicit Decimal and object-hook/encoder controls, plus a documented pure-Python fallback and optional C acceleration.",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Project function, simplejson",
      "display": "def json(self, **kwargs: Any) -> Any:\n    r\"\"\"Decodes the JSON response body (if any) as a Python object.\n\n    This may return a dictionary, list, etc. depending on what is in the response.\n\n    :param \\*\\*kwargs: Optional arguments that ``json.loads`` takes.\n    :raises requests.exceptions.JSONDecodeError: If the response body does not\n        contain valid json.\n    \"\"\"\n\n    if not self.encoding and self.content and len(self.content) > 3:\n        # No encoding set. JSON RFC 4627 section 3 states we should expect\n        # UTF-8, -16 or -32. Detect which one to use; If the detection or\n        # decoding fails, fall back to `self.text` (using charset_normalizer to make\n        # a best guess).\n        encoding = guess_json_utf(self.content)\n        if encoding is not None:\n            try:\n                return complexjson.loads(self.content.decode(encoding), **kwargs)\n            except UnicodeDecodeError:\n                # Wrong UTF codec detected; usually because it's not UTF-8\n                # but some other 8-bit codec.  This is an RFC violation,\n                # and the server didn't bother to tell us what codec *was*\n                # used.\n                pass\n            except JSONDecodeError as e:\n                raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)\n\n    try:\n        return complexjson.loads(self.text, **kwargs)\n    except JSONDecodeError as e:\n        # Catch JSON-related errors and raise as requests.JSONDecodeError\n        # This aliases json.JSONDecodeError and simplejson.JSONDecodeError\n        raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Project source file, simplejson",
      "display": "src/requests/models.py",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "Project full_name, simplejson",
      "display": "psf/requests",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Project stargazers_count, simplejson",
      "display": "54.3K",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Library name, ijson",
      "display": "ijson",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Monthly downloads, ijson",
      "display": "48.5M",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "License, ijson",
      "display": "BSD-3-Clause AND ISC",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Package release, ijson",
      "display": "3.6.0",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Package release date, ijson",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Install, ijson",
      "display": "python -m pip install ijson==3.6.0",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "Quickstart, ijson",
      "display": "from io import BytesIO\nimport ijson\n\nsource = BytesIO(b'[{\"name\":\"Ada\"}]')\nitem = next(ijson.items(source, \"item\"))\n",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Official description, ijson",
      "display": "Parses JSON through standard Python iterators.",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Quickstart source file, ijson",
      "display": "README.rst",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Native JSON encoding, ijson",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Lazy item parsing, ijson",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Typed schema decoding, ijson",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Interface and best-fit task, ijson",
      "display": "Incremental event/item parser for streams and iterables, with selected backend and numeric conversion behavior. It is not a JSON encoder; consumer code can still retain all yielded objects.",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Project function, ijson",
      "display": "def _iterate_file_streaming(self, fp: Any) -> Iterable[Any]:\n    # Count the number of elements in the file.\n    if self.config.count_all_before_starting:\n        count_start_time = datetime.datetime.now()\n        parse_stream = ijson.parse(fp, use_float=True)\n        total_elements = 0\n        for _row in ijson.items(parse_stream, \"item\", use_float=True):\n            total_elements += 1\n        count_end_time = datetime.datetime.now()\n        self.report.add_count_time(count_end_time - count_start_time)\n        self.report.current_file_num_elements = total_elements\n        fp.seek(0)\n\n    # Read the file.\n    self.report.current_file_elements_read = 0\n    parse_start_time = datetime.datetime.now()\n    parse_stream = ijson.parse(fp, use_float=True)\n    for row in ijson.items(parse_stream, \"item\", use_float=True):\n        parse_end_time = datetime.datetime.now()\n        self.report.add_parse_time(parse_end_time - parse_start_time)\n        self.report.current_file_elements_read += 1\n        yield row",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Project source file, ijson",
      "display": "metadata-ingestion/src/datahub/ingestion/source/file.py",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "Project full_name, ijson",
      "display": "datahub-project/datahub",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Project stargazers_count, ijson",
      "display": "13.0K",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Library name, msgspec",
      "display": "msgspec",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Monthly downloads, msgspec",
      "display": "40.5M",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "License, msgspec",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Package release, msgspec",
      "display": "0.22.0",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "Package release date, msgspec",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Install, msgspec",
      "display": "python -m pip install msgspec==0.22.0",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Quickstart, msgspec",
      "display": "import msgspec\n\nclass User(msgspec.Struct):\n    name: str\n\nuser = msgspec.json.decode(b'{\"name\":\"Ada\"}', type=User)\n",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Native JSON encoding, msgspec",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Lazy item parsing, msgspec",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Typed schema decoding, msgspec",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Interface and best-fit task, msgspec",
      "display": "JSON bytes encoding and optional declared-type decoding with Struct/schema validation and custom hooks; also supports other serialization formats, whose use is not claimed by a JSON example.",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Project function, msgspec",
      "display": "def decode_json(  # type: ignore[misc]\n    value: str | bytes,\n    target_type: type[T] | EmptyType = Empty,\n    type_decoders: TypeDecodersSequence | None = None,\n    strict: bool = True,\n) -> Any:\n    \"\"\"Decode a JSON string/bytes into an object.\n\n    Args:\n        value: Value to decode\n        target_type: An optional type to decode the data into\n        type_decoders: Optional sequence of type decoders\n        strict: Whether type coercion rules should be strict. Setting to False enables\n            a wider set of coercion rules from string to non-string types for all values\n\n    Returns:\n        An object\n\n    Raises:\n        SerializationException: If error decoding ``value``.\n    \"\"\"\n    try:\n        if target_type is Empty:\n            return _msgspec_json_decoder.decode(value)\n        return msgspec.json.decode(\n            value,\n            dec_hook=partial(\n                default_deserializer,\n                type_decoders=type_decoders,\n            ),\n            type=target_type,\n            strict=strict,\n        )\n    except msgspec.DecodeError as msgspec_error:\n        raise SerializationException(str(msgspec_error)) from msgspec_error",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Project source file, msgspec",
      "display": "litestar/serialization/msgspec_hooks.py",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "Project full_name, msgspec",
      "display": "litestar-org/litestar",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Project stargazers_count, msgspec",
      "display": "8.6K",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Library name, ujson",
      "display": "UltraJSON",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Monthly downloads, ujson",
      "display": "30.4M",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "License, ujson",
      "display": "BSD-3-Clause AND TCL",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Package release, ujson",
      "display": "6.1.0",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Package release date, ujson",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Install, ujson",
      "display": "python -m pip install ujson==6.1.0",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "Quickstart, ujson",
      "display": "import ujson\n\nencoded = ujson.dumps([{\"key\": \"value\"}, 81, True])\n",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Official description, ujson",
      "display": "Encodes and decodes JSON.",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Quickstart source file, ujson",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Native JSON encoding, ujson",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Lazy item parsing, ujson",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Typed schema decoding, ujson",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Interface and best-fit task, ujson",
      "display": "JSON text encoder/decoder with documented escaping and formatting options. Publisher explicitly states maintenance-only mode: new Python support and critical/security fixes continue, other changes are rejected, and users are encouraged to migrate to orjson. This is the publisher’s recommendation, not an independently measured performance claim.",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Project function, ujson",
      "display": "def json(\n    body,\n    status=200,\n    headers=None,\n    content_type=\"application/json\",\n    dumps=json_dumps,\n    **kwargs\n):\n    \"\"\"\n    Returns response object with body in json format.\n\n    :param body: Response data to be serialized.\n    :param status: Response code.\n    :param headers: Custom Headers.\n    :param kwargs: Remaining arguments that are passed to the json encoder.\n    \"\"\"\n    return HTTPResponse(\n        dumps(body, **kwargs),\n        headers=headers,\n        status=status,\n        content_type=content_type,\n    )",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Project source file, ujson",
      "display": "sanic/response.py",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "Project full_name, ujson",
      "display": "sanic-org/sanic",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Project stargazers_count, ujson",
      "display": "18.6K",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Library name, jsonpickle",
      "display": "jsonpickle",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Monthly downloads, jsonpickle",
      "display": "16.6M",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "License, jsonpickle",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Package release, jsonpickle",
      "display": "4.1.4",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Package release date, jsonpickle",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Install, jsonpickle",
      "display": "python -m pip install jsonpickle==4.1.4",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "Quickstart, jsonpickle",
      "display": "from dataclasses import dataclass\nimport jsonpickle\n\n@dataclass\nclass Example:\n    data: str\n\nencoded = jsonpickle.encode(Example(\"value1\"))\n",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Official description, jsonpickle",
      "display": "Encodes and decodes any Python object to and from JSON.",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Quickstart source file, jsonpickle",
      "display": "README.rst",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Native JSON encoding, jsonpickle",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Lazy item parsing, jsonpickle",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Typed schema decoding, jsonpickle",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Interface and best-fit task, jsonpickle",
      "display": "Python-object graph conversion over configurable JSON backends, with optional restoration metadata. It is distinct from schema validation; decode requires trusted data, as the publisher states.",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "Project function, jsonpickle",
      "display": "def create(self, *args, **kwargs):\n    inbound = jsonpickle.encode(self.inbound_rules, unpicklable=False)\n    outbound = jsonpickle.encode(self.outbound_rules, unpicklable=False)\n    params = {'name': self.name,\n              'droplet_ids': self.droplet_ids,\n              'inbound_rules': jsonpickle.decode(inbound),\n              'outbound_rules': jsonpickle.decode(outbound),\n              'tags': self.tags}\n\n    data = self.get_data('firewalls/', type=POST, params=params)\n\n    if data:\n        self._set_firewall_attributes(data)\n\n    return self",
      "asOf": "2026-11-20"
    },
    "F254": {
      "label": "Project source file, jsonpickle",
      "display": "digitalocean/Firewall.py",
      "asOf": "2026-11-20"
    },
    "F255": {
      "label": "Project full_name, jsonpickle",
      "display": "koalalorenzo/python-digitalocean",
      "asOf": "2026-11-20"
    },
    "F256": {
      "label": "Project stargazers_count, jsonpickle",
      "display": "1.3K",
      "asOf": "2026-11-20"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best Python JSON libraries json orjson msgspec python-rapidjson examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
