parser for php literals.
Parse into a generic representation
```rust use phpliteralparser::{from_str, Value, ParseError};
fn main() -> Result<(), ParseError> {
let map = from_str::
assert_eq!(map["foo"], true);
assert_eq!(map["nested"]["foo"], false);
Ok(())
} ```
Or parse into a specific struct using serde
```rust use phpliteralparser::{from_str, ParseError}; use serde::Deserialize;
struct Target {
foo: bool,
bars: Vec
fn main() -> Result<(), ParseError> { let target = from_str(r#"["foo" => true, "bars" => [1, 2, 3, 4,]]"#)?;
assert_eq!(Target {
foo: true,
bars: vec![1, 2, 3, 4]
}, target);
Ok(())
} ```