bluelinelabs / bluelinelabs/LoganSquare

Need []byte Base64 encoding/decoding

Open
#122 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.2k
Forks
303
PR merge metrics
No merged PRs in 30d

Description

JSON byte[] must be transmitted as base64 (default) or some other non-json-violating format since byte[] can contain quotes, colons, brackets symbols used by json spec.

[]byte Serialize:
--> first Base64.encode(in, Base64.DEFAULT)

[]byte Deserialize:
--> Base64.decode(in, Base64.DEFAULT)

Having the above auto support would be great and inline with other JSON parsers.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the library's []byte serialization and deserialization entry points and any existing tests for byte values. Compare the current JSON handling with the requested Base64.DEFAULT encode/decode behavior; done means automatic round-trip support without emitting invalid JSON.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
api, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.