Skip to content

Version 3.8

Compare
Choose a tag to compare
@Ronef Ronef released this 04 Jun 17:35
· 29 commits to master since this release
  • * Parameters:
    • + inputString: Supports JSON with any nesting level.
    • + colTpl[$i] → Placeholders:
      • + [+columnIndex+]: The new placeholder. Contains index of the column, starts at 0.
      • + [+columnKey+]: The new placeholder. Contains key of the column. It is usefull for objects or associative arrays in inputString, for indexed arrays the placeholder is equal to [+columnIndex+].
      • + [+val+]: If a column value is an array/object, it will be converted to a JSON string (it is usefull if inputString contains JSON with more than 2 levels of nesting).
    • rowTpl → Placeholders:
      • + [+allColumnValues+]: The new placeholder. Contains string values of all columns combined by colGlue. See README → Examples.
      • + [+columnKey+]: The new placeholders set, when columnKey is original column key. See README → Examples.
    • * removeEmptyCols: Works fine even if both rowTpl and colTpl are not set.