aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/seld/json_lint/json_parser.rs
blob: 6deb13c19242cd5bd05dec8cdcf75b4e0361387b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use shirabe_php_shim::PhpMixed;

#[derive(Debug)]
pub struct JsonParser;

impl JsonParser {
    pub const DETECT_KEY_CONFLICTS: u32 = 1;

    pub fn new() -> Self {
        todo!()
    }

    pub fn parse(&self, json: &str, flags: u32) -> anyhow::Result<PhpMixed> {
        todo!()
    }
}