alef 0.23.21

Opinionated polyglot binding generator for Rust libraries
Documentation
1
2
3
4
5
            let encodedData = try marshal_encode_excluded(result)
            if let jsonString = String(data: encodedData, encoding: .utf8) {
                return "{\"ok\": \(jsonString)}"
            }
            return "{\"ok\": null}"