Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] javaserialize序列化 #402

Closed
poo0054 opened this issue Dec 30, 2024 · 4 comments
Closed

[FEATURE] javaserialize序列化 #402

poo0054 opened this issue Dec 30, 2024 · 4 comments

Comments

@poo0054
Copy link

poo0054 commented Dec 30, 2024

请问如何把解析之后的值传给tiny RDM(我不太清楚php)

使用java代码,看了文档没太理解解析之后的值怎么回传给tiny RDM

  1. 入参是用的main方法里面String[] args
  2. 出参怎么返回
@tiny-craft
Copy link
Owner

  1. 是的,入参是base64,如果你直接存在Redis中的是java对象,那么这里拿到的base64字符串你解码就是java对象,你再通过java代码转成json字符串,或者别的你可理解的格式之后,再次转回base64字符串
  2. 出参直接打印就行了

@poo0054
Copy link
Author

poo0054 commented Jan 6, 2025

出参直接打印就行了

System.out.println(); 吗

@tiny-craft
Copy link
Owner

是的

@poo0054
Copy link
Author

poo0054 commented Jan 6, 2025

感谢

@poo0054 poo0054 closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants