dudu-RESP-interpreter

REdis Serialization Protocol (RESP) implemented in java. You can simply construct string commands to RESP commands, and interpret redis response. By import net.yesdata.RESP_intepreter.* you can play with RESP with happy. How to format command string to RESP style? String command = "INFO"; IInterpreter intepreter = new DefaultRespInterpreter(); String sentCommand = intepreter.FormatCommand(command); How to read and print RESP style response? IInterpreter intepreter = new DefaultRespInterpreter(); List<IRespNode> respNodes = intepreter.IntepretResponse(responseBody); for(IRespNode n : respNodes) { System.out.println(n.toRespFormatString()); }

License

License

Categories

Categories

Data Net
GroupId

GroupId

net.yesdata
ArtifactId

ArtifactId

dudu-RESP-interpreter
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

dudu-RESP-interpreter
REdis Serialization Protocol (RESP) implemented in java. You can simply construct string commands to RESP commands, and interpret redis response. By import net.yesdata.RESP_intepreter.* you can play with RESP with happy. How to format command string to RESP style? String command = "INFO"; IInterpreter intepreter = new DefaultRespInterpreter(); String sentCommand = intepreter.FormatCommand(command); How to read and print RESP style response? IInterpreter intepreter = new DefaultRespInterpreter(); List<IRespNode> respNodes = intepreter.IntepretResponse(responseBody); for(IRespNode n : respNodes) { System.out.println(n.toRespFormatString()); }
Project URL

Project URL

https://github.com/yourcaptain/dudu-RESP_intepreter
Source Code Management

Source Code Management

https://github.com/yourcaptain/dudu-RESP_intepreter

Download dudu-RESP-interpreter

How to add to project

<!-- https://jarcasting.com/artifacts/net.yesdata/dudu-RESP-interpreter/ -->
<dependency>
    <groupId>net.yesdata</groupId>
    <artifactId>dudu-RESP-interpreter</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/net.yesdata/dudu-RESP-interpreter/
implementation 'net.yesdata:dudu-RESP-interpreter:1.0.4'
// https://jarcasting.com/artifacts/net.yesdata/dudu-RESP-interpreter/
implementation ("net.yesdata:dudu-RESP-interpreter:1.0.4")
'net.yesdata:dudu-RESP-interpreter:jar:1.0.4'
<dependency org="net.yesdata" name="dudu-RESP-interpreter" rev="1.0.4">
  <artifact name="dudu-RESP-interpreter" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.yesdata', module='dudu-RESP-interpreter', version='1.0.4')
)
libraryDependencies += "net.yesdata" % "dudu-RESP-interpreter" % "1.0.4"
[net.yesdata/dudu-RESP-interpreter "1.0.4"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.1

Project Modules

There are no modules declared in this project.

Versions

Version
1.0.4