rust-web-server 18.8.2

Single-binary web server and reverse proxy: automatic HTTPS (Let's Encrypt), HTTP/1.1, HTTP/2 and HTTP/3, load balancing, auth and rate limiting, configured in one TOML file. Also a Rust library: routing, middleware, MCP server, ORM, background jobs. No hyper, no Tower; HTTP/2 and HTTP/3 framing via h2 and quinn.
Documentation
use crate::json::array::integer::JSONArrayOfIntegers;

#[test]
fn json_to_vector() {
    let json_array = "[2, 0 , 5]".to_string();

    let boxed_parse = JSONArrayOfIntegers::parse_as_list_u64(json_array);
    if boxed_parse.is_err() {
        // handle error
    }

    let _list : Vec<u64> = boxed_parse.unwrap();

}

#[test]
fn vector_to_json() {
    let json_array: Vec<u64> = vec![2, 0, 5];

    let result = JSONArrayOfIntegers::to_json_from_list_u64(&json_array);
    if result.is_err() {
        // handle error
    }

    let _json_array = result.unwrap();
}