You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+60-8
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,11 @@
4
4
5
5
# Description
6
6
7
-
**go-simple-serializer** (aka GSS) is a simple library for serializing/deserializing objects. GSS supports `csv`, `hcl`, `hcl2`, `json`, `jsonl`, `toml`, `yaml`. `hcl` and `hcl2` implementation is fragile and very much in `alpha`.
7
+
**go-simple-serializer** (aka GSS) is a simple library for serializing/deserializing objects.
8
+
9
+
GSS supports `bson`, `csv`, `tsv`, `hcl`, `hcl2`, `json`, `jsonl`, `properties`, `toml`, `yaml`. `hcl` and `hcl2` implementation is fragile and very much in `alpha`.
10
+
11
+
Using cross compilers, this library can also be called by other languages. This library is cross compiled into a Shared Object file (`*.so`). The Shared Object file can be called by `C`, `C++`, and `Python` on Linux machines. See the examples folder for patterns that you can use. This library is also compiled to pure `JavaScript` using [GopherJS](https://github.com/gopherjs/gopherjs).
8
12
9
13
# Usage
10
14
@@ -13,14 +17,18 @@
13
17
You can use the command line tool to convert between formats.
A variant of the `Convert` function is exported in a Shared Object file (`*.so`), which can be called by `C`, `C++`, and `Python` programs on Linux machines. For example:
The Go function definition defined in `plugins/gss/main.go` uses `*C.char` for all input except `output_string` which uses a double pointer (`**C.char`) to write to the output.
0 commit comments