pub fn encode_entry_args(args: &[Value]) -> Result<JsonValue, String>Expand description
Serialise entry-call arguments into the replay schema’s input field.
Matches decode_entry_args on the replay side:
- empty arg list →
JsonValue::Null - single arg → the single value directly
- multiple args → a JSON array