public static JsonObject serialize ( InputPortContext context ) { return serialize ( context . uri ( ) , context . input ( ) . instance ( ) . component ( ) . network ( ) ) ; }
Serializes an input port context to JSON .