(input: &str)
| 485 | } |
| 486 | |
| 487 | pub fn json_validate_entities(input: &str) -> serde_json::Result<String> { |
| 488 | let ans = validate_entities(input)?; |
| 489 | serde_json::to_string(&ans) |
| 490 | } |
| 491 | |
| 492 | /// public string-based JSON interface to be invoked by FFIs. Takes in a `ValidateEntityCall` and (if successful) |
| 493 | /// returns unit value () which is null value when serialized to json. |
no test coverage detected