ActivityPub
An ActivityPub model.
This module indicates that an including model is an ActivityPub model. It defines class methods for instantiating ActivityPub models from JSON-LD.
Constants
Log = ::Log.for("ktistec.json_ld")
the only logging in this module is related to mapping JSON-LD.
Class methods
dig_text?(json : JSON::Any, *selector) : String | Nil
Digs out a natural-language string value.
ActivityStreams natural-language properties may be sent as a plain string, a language map, or an expanded value object.
from_json_ld(json, **options)
Sourcefrom_json_ld?(json, **options)
Source