liqp.filters.Compact Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liqp Show documentation
Show all versions of liqp Show documentation
A Java implementation of the Liquid templating engine backed up by an ANTLR grammar.
The newest version!
package liqp.filters;
import liqp.TemplateContext;
import java.util.ArrayList;
import java.util.List;
public class Compact extends Filter {
@Override
public Object apply(Object value, TemplateContext context, Object... params) {
if (!super.isArray(value)) {
return value;
}
Object[] values = super.asArray(value, context);
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy