Rename jrpc_sys module back to jsonmarshal

This commit is contained in:
jangko 2024-01-04 11:40:22 +07:00
parent 014658d1e4
commit 834de413d9
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
9 changed files with 16 additions and 14 deletions

View File

@ -11,7 +11,7 @@ import
std/[json, tables, macros],
chronos,
results,
./private/jrpc_conv,
./jsonmarshal,
./private/jrpc_sys,
./private/client_handler_wrapper,
./private/shared_wrapper,
@ -22,7 +22,7 @@ from strutils import replace
export
chronos,
tables,
jrpc_conv,
jsonmarshal,
RequestParamsTx,
results

View File

@ -9,7 +9,8 @@
import
macros,
./shared_wrapper
./shared_wrapper,
./jrpc_sys
{.push gcsafe, raises: [].}

View File

@ -13,12 +13,12 @@ import
json_serialization,
json_serialization/std/[options],
./errors,
./jrpc_sys,
./jrpc_conv,
./shared_wrapper
./jrpc_sys,
./shared_wrapper,
../jsonmarshal
export
jrpc_conv
jsonmarshal
{.push gcsafe, raises: [].}

View File

@ -10,7 +10,7 @@
import
std/[json, macros],
./jrpc_sys,
./jrpc_conv
../jsonmarshal
iterator paramsIter*(params: NimNode): tuple[name, ntype: NimNode] =
## Forward iterator of handler parameters

View File

@ -13,11 +13,12 @@ import
chronos,
./private/server_handler_wrapper,
./private/errors,
./private/jrpc_sys
./private/jrpc_sys,
./jsonmarshal
export
chronos,
jrpc_conv,
jsonmarshal,
json
type

View File

@ -11,14 +11,14 @@ import
std/json,
chronos,
./router,
./private/jrpc_conv,
./jsonmarshal,
./private/jrpc_sys,
./private/shared_wrapper,
./private/errors
export
chronos,
jrpc_conv,
jsonmarshal,
router
type

View File

@ -66,7 +66,7 @@ template hexQuantityStr*(value: string): HexQuantityStr = value.HexQuantityStr
# Converters
import json
import ../../json_rpc/private/jrpc_conv
import ../../json_rpc/jsonmarshal
proc `%`*(value: HexDataStr): JsonNode {.gcsafe, raises: [JsonRpcError].} =
if not value.validate:

View File

@ -1,7 +1,7 @@
import
std/json,
stint,
../../json_rpc/private/jrpc_conv
../../json_rpc/jsonmarshal
{.push gcsafe, raises: [].}