update
This commit is contained in:
24
etc.jl
24
etc.jl
@@ -1,21 +1,13 @@
|
||||
using JSON
|
||||
|
||||
d = Dict(
|
||||
"name"=>"ton",
|
||||
"age"=> 20,
|
||||
"metadata" => Dict(
|
||||
"height"=> 155,
|
||||
"wife"=> "jane"
|
||||
)
|
||||
)
|
||||
|
||||
json_str = JSON.json(d)
|
||||
json_str_bytes = Vector{UInt8}(json_str)
|
||||
json_str_2 = String(json_str_bytes)
|
||||
json_obj = JSON.parse(json_str_2)
|
||||
|
||||
Check architecture.jl, NATSBridge.jl and its test files:
|
||||
- test_julia_to_julia_table_receiver.jl
|
||||
- test_julia_to_julia_table_sender.jl.
|
||||
|
||||
Now I want to test sending a mix-content message from Julia serviceA to Julia serviceB, for example, a chat system.
|
||||
The test message must show that any combination and any number and any data size of text | json | table | image | audio | video | binary can be send and receive.
|
||||
|
||||
Can you write me the following test files:
|
||||
- test_julia_to_julia_mix_receiver.jl
|
||||
- test_julia_to_julia_mix_sender.jl
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user