serde_json_lodash 0.1.16

lodash.js ported version, work with serde_json::Value
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
build_link!(
    /// See lodash [first](https://lodash.com/docs/#first)
    first,
    /// Based on [first()]
    ///
    /// More examples:
    ///
    /// ```rust
    /// # #[macro_use] extern crate serde_json_lodash;
    /// # use serde_json::json;
    /// assert_eq!(first!(), json!(null));
    /// assert_eq!(first!(json!("東京")), json!("東"));
    /// ```
    head
);