1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! This module provide `JSON` parser implementation.
//!
//! To enable that parser one has to add the following to Cargo.toml:
//!
//! ```toml
//! [dependencies]
//! irx-config = { version = "2.2", features = ["json"] }
//! ```
//!
//! # Example
//!
//! ```no_run
//! use irx_config::ConfigBuilder;
//! use irx_config::parsers::json::ParserBuilder;
//!
//! let config = ConfigBuilder::default()
//! .append_parser(
//! ParserBuilder::default()
//! .default_path("config.json")
//! .path_option("config")
//! .build()?,
//! )
//! .load()?;
//! ```
use crate;
use crate::;
use Read;
/// Implements [`Load`] trait for `JSON` parser.
;
/// Builder for `JSON` parser.
;