Registry / serialization / streams-pojo

streams-pojo

JSON →
library0.7.0javamavenunverified

Activity Streams JSON schemas and Plain Old Java Objects (POJOs) for representing activity data.

<dependency> <groupId>org.apache.streams</groupId> <artifactId>streams-pojo</artifactId> <version>0.7.0</version> </dependency>
INSTALL
IMPORT
SIG · STREAMS-POJO
S
streams-pojo
serializationjavav0.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Activity
org.apache.streams.pojo.json.Activity

Creates an Activity object and prints its JSON representation.

import org.apache.streams.pojo.json.Activity; public class Example { public static void main(String[] args) { Activity activity = new Activity(); activity.setActor("user:1"); activity.setVerb("post"); System.out.println(activity.toJson()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
streams-pojo — mvn dependency:get streams-pojo · libregistry