Class ToJsonSoyFunction

java.lang.Object
com.atlassian.bamboo.soy.ToJsonSoyFunction
All Implemented Interfaces:
com.atlassian.soy.renderer.SoyClientFunction, com.atlassian.soy.renderer.SoyFunction, com.atlassian.soy.renderer.SoyServerFunction<String>

public class ToJsonSoyFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<String>, com.atlassian.soy.renderer.SoyClientFunction
  • Constructor Details

    • ToJsonSoyFunction

      public ToJsonSoyFunction(Jsonator jsonator)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface com.atlassian.soy.renderer.SoyFunction
    • apply

      public String apply(Object... args)
      Specified by:
      apply in interface com.atlassian.soy.renderer.SoyServerFunction<String>
    • validArgSizes

      public Set<Integer> validArgSizes()
      Specified by:
      validArgSizes in interface com.atlassian.soy.renderer.SoyFunction
    • generate

      public com.atlassian.soy.renderer.JsExpression generate(com.atlassian.soy.renderer.JsExpression... jsExpressions)
      Specified by:
      generate in interface com.atlassian.soy.renderer.SoyClientFunction