jcabi / jcabi/jcabi-github

Avoid repeatedly re-parsing JSON string in RtStatus

Open
#1,135 1 comment 0 reactions 0 assignees View on GitHub
bug DEV
Dominant language
Java
Stars
307
Forks
144
Avg merge
1d 22h
Merged PRs (30d)
14

Description

`RtStatus` stores the underlying JSON string and re-parses it whenever `.json()` is accessed. This is unnecessarily inefficient. Note that `@Immutable` currently prevents us from storing the `JsonObject` itself (see #1131 for more context).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.