rust-web-server 17.0.0

rust-web-server (rws) is a static content web-server written in Rust
1
2
3
4
5
6
7
8
9
use crate::json::array::RawUnprocessedJSONArray;

#[test]
fn json_array_nested_array() {
    let array = "[ [false] ]";
    let actual = RawUnprocessedJSONArray::split_into_vector_of_strings(array.to_string()).unwrap();
    let expected = vec!["[false]"];
    assert_eq!(actual, expected);
}