diff options
| author | Oskari Timperi <oswjk@users.noreply.github.com> | 2020-04-22 13:41:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-22 13:41:46 +0300 |
| commit | 12f0050e46e87deb5c26861633cc9c4e82df1b68 (patch) | |
| tree | 8b72d1727b7f6d79689da2962458770e71093d94 | |
| parent | fd813d1128611c8f3bdcfe36d63e78acce51a48a (diff) | |
| parent | 5aa10ec6c9aca2e0272a1f699d79db417832b394 (diff) | |
| download | nimpb-12f0050e46e87deb5c26861633cc9c4e82df1b68.tar.gz nimpb-12f0050e46e87deb5c26861633cc9c4e82df1b68.zip | |
Merge pull request #17 from tmokazaki/build_nim_1.2
fix build on v1.2
| -rw-r--r-- | nimpb/json.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nimpb/json.nim b/nimpb/json.nim index 875c567..619554a 100644 --- a/nimpb/json.nim +++ b/nimpb/json.nim @@ -16,7 +16,7 @@ proc `%`*(u: uint32): JsonNode = newJFloat(float(u)) proc `%`*(b: seq[byte]): JsonNode = - result = newJString(base64.encode(cast[string](b), newLine="")) + result = newJString(base64.encode(cast[string](b))) proc toJson*(value: float): JsonNode = case classify(value) |
