python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Deserialize json array of arrays and strings
I have json from a vendor api that looks like this:
[
"Crappy vendor unwanted string",
[
{
"key": "val",
"...": "lo...
NordyKy
Votes: 0
Answers: 1
Rust: wrapper for jsonwebtoken and serde Deserialize
I am writing a Rust wrapper to sign and decode a given struct.
The create_token method seems to work: but the decode_token return an error on compile time about the lifetimes:
use jsonwebtoken::{decod...

Emille C.
Votes: 0
Answers: 1
MessagePack how to write a stream of serialized structs to / from a BufWriter/BufReader
I'm writing a giant stream of messages (from a websocket feed) to a file.
The messages look like this, an enum of structs that are themselves serializable.
enum SerializedMessage {
Level2(Level2),...
nxstock-trader
Votes: 0
Answers: 1
Rust - Lifetimes - Understanding Lifetime Error for mutable reference to self
I'm sure this is a duplicate, but I can't find a question which matches my question, exactly since I have a couple extra requirements because I have to adhere to some traits that I can't control.
Here...

Jerfov2
Votes: 0
Answers: 1