You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a feature request or a bug report.
But yaml-plus-json can't convert files that contain multiple 'objects', 'blocks', or whatever they are called in the YAML universe!! :-)
Or is it a limitation of the YAML schema ?? Because another extension says that the file is correct..
BUT.. A preview YAML extension can't show it.. Unless there is only one object in the file.
Dimension.yml file:
---
name: Dimensionextends: Sizesummary: A simple object consisting of the position and size measurements. Effectively combines <Size> and <Point> but ensures numeric x/y values.since: "2.0.0"description: | When a dimension is returned by the [rect](Titanium.UI.View.rect) property, `x` represents the view's left position, and `y` represents the view's top position. The [size](Titanium.UI.View.size) property returns a dimension object with `x` and `y` both set to 0.properties:
- name: xsummary: The x-axis coordinate of the position. When returned by <Titanium.UI.View.rect> the position is relative to it's parent.type: Number
- name: ysummary: The y-axis coordinate of the position. When returned by <Titanium.UI.View.rect> the position is relative to it's parent.type: Number
---
name: DimensionWithAbsolutesextends: Dimensionsummary: An extension of <Dimension> where Android returns additional absolute X/Y values/properties for <Titanium.UI.View.rect>properties:
- name: absoluteXsummary: The x-axis coordinate of the position relative to the main window.type: Numberplatforms: [android]
- name: absoluteYsummary: The y-axis coordinate of the position relative to the main window.type: Numberplatforms: [android]
As you can see in the example code.. It contains two ( --- ) objects!!! And yaml-plus-json can't convert it!! :-(
IF I leave either one of them.. The file is converted without a problem!!.
Other than that.. IT IS A GREAT TOOL!! Thanks!!
The ability to right-click a folder and convert everything is an EXCELLENT feature!!
Is there a setting to recursively process every subfolder ???
The text was updated successfully, but these errors were encountered:
macCesar
changed the title
Convert yaml with multiple 'objects' in the same file
Convert to JSON with multiple 'objects' in the same YAML file
Mar 6, 2022
I'm not sure if this is a feature request or a bug report.
But yaml-plus-json can't convert files that contain multiple 'objects', 'blocks', or whatever they are called in the YAML universe!! :-)
Or is it a limitation of the YAML schema ?? Because another extension says that the file is correct..
BUT.. A preview YAML extension can't show it.. Unless there is only one object in the file.
Dimension.yml
file:As you can see in the example code.. It contains two ( --- ) objects!!! And yaml-plus-json can't convert it!! :-(
IF I leave either one of them.. The file is converted without a problem!!.
Other than that.. IT IS A GREAT TOOL!! Thanks!!
The ability to
right-click
a folder and convert everything is an EXCELLENT feature!!Is there a setting to recursively process every subfolder ???
The text was updated successfully, but these errors were encountered: