// =============================================================================
// Copyright (c) 2026 Haixing Hu.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Test-only accounting for JSON parser entry points.
use Cell;
thread_local!
/// Records one JSON parser entry for the current test thread.
pub
/// Resets the current test thread's JSON parser-entry count to zero.
pub
/// Returns the JSON parser-entry count recorded by the current test thread.
pub