Rename jrpc_sys module back to jsonmarshal
This commit is contained in:
parent
014658d1e4
commit
834de413d9
|
@ -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
|
||||
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
|
||||
import
|
||||
macros,
|
||||
./shared_wrapper
|
||||
./shared_wrapper,
|
||||
./jrpc_sys
|
||||
|
||||
{.push gcsafe, raises: [].}
|
||||
|
||||
|
|
|
@ -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: [].}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import
|
||||
std/json,
|
||||
stint,
|
||||
../../json_rpc/private/jrpc_conv
|
||||
../../json_rpc/jsonmarshal
|
||||
|
||||
{.push gcsafe, raises: [].}
|
||||
|
||||
|
|
Loading…
Reference in New Issue